aco: don't consider sa_sdst=0 before SALU write to fix VALUMaskWriteHazard
LLVM does but that's probably a bug. fossil-db (navi31): Totals from 311 (0.39% of 79395) affected shaders: Instrs: 380453 -> 381075 (+0.16%) CodeSize: 1961012 -> 1964744 (+0.19%) Latency: 4799095 -> 4800313 (+0.03%) InvThroughput: 958358 -> 958904 (+0.06%) VALU: 242322 -> 242633 (+0.13%) Signed-off-by:Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Daniel Schürmann <daniel@schuermann.dev> Backport-to: 24.1 Backport-to: 24.2 Part-of: <mesa/mesa!30818>
Showing
- src/amd/compiler/README-ISA.md 2 additions, 2 deletionssrc/amd/compiler/README-ISA.md
- src/amd/compiler/aco_insert_NOPs.cpp 20 additions, 6 deletionssrc/amd/compiler/aco_insert_NOPs.cpp
- src/amd/compiler/tests/test_insert_nops.cpp 13 additions, 0 deletionssrc/amd/compiler/tests/test_insert_nops.cpp
Loading
Please register or sign in to comment