aco: improve VMEMtoScalarWriteHazard s_waitcnt mitigation
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 25 Aug 2022 19:40:31 +0000 (20:40 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 30 Sep 2022 11:44:38 +0000 (11:44 +0000)
commita4f6acece1771f0eff74c010256115faf8fea86d
treefb90a280a8543db306ee7fae3268fcda9d90cf1a
parent2bd16256a6a8f830dc43aa7224879d11edb9583a
aco: improve VMEMtoScalarWriteHazard s_waitcnt mitigation

fossil-db (navi10):
Totals from 171 (0.13% of 134563) affected shaders:
Instrs: 69348 -> 69144 (-0.29%)
CodeSize: 381112 -> 380296 (-0.21%)
Latency: 451534 -> 451387 (-0.03%)
InvThroughput: 88692 -> 88686 (-0.01%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18270>
src/amd/compiler/aco_insert_NOPs.cpp