Skip to content
  • Rhys Perry's avatar
    aco: don't create 4 and 5 dword NSA instructions on GFX10 · 903f814b
    Rhys Perry authored
    "stability issues", apparently: https://reviews.llvm.org/D103348
    
    
    
    fossil-db (Navi10):
    Totals from 4512 (3.01% of 149839) affected shaders:
    VGPRs: 221516 -> 223308 (+0.81%); split: -0.07%, +0.88%
    CodeSize: 23000080 -> 23070672 (+0.31%); split: -0.08%, +0.39%
    MaxWaves: 107718 -> 107496 (-0.21%); split: +0.11%, -0.32%
    Instrs: 4321890 -> 4362822 (+0.95%); split: -0.00%, +0.95%
    Latency: 71495710 -> 71581476 (+0.12%); split: -0.07%, +0.19%
    InvThroughput: 11858568 -> 11938960 (+0.68%); split: -0.00%, +0.68%
    VClause: 76575 -> 76585 (+0.01%); split: -0.05%, +0.07%
    SClause: 168771 -> 168709 (-0.04%); split: -0.06%, +0.02%
    Copies: 182305 -> 221948 (+21.75%); split: -0.00%, +21.75%
    PreVGPRs: 194657 -> 195635 (+0.50%); split: -0.00%, +0.50%
    
    Signed-off-by: default avatarRhys Perry <pendingchaos02@gmail.com>
    Reviewed-by: default avatarTimur Kristóf <timur.kristof@gmail.com>
    Fixes: c353895c ("aco: use non-sequential addressing")
    Part-of: <mesa/mesa!10898>
    903f814b