aco: add ACO_DEBUG=force-waitcnt to emit wait-states
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 19 Aug 2020 08:40:35 +0000 (10:40 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 21 Aug 2020 11:22:58 +0000 (13:22 +0200)
commitf15315173032714b1cc4c1820e50b95ae29dd88c
treecd0183329460d50d54a2a0b8122a4b51fba0a50c
parent258ef4d4a4b6c11b141e12e6736b01f408461c1d
aco: add ACO_DEBUG=force-waitcnt to emit wait-states

Sounds useful for debugging missing wait-states and for improving
detection of the faulty instruction in case of memory violations.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6386>
docs/envvars.rst
src/amd/compiler/aco_insert_waitcnt.cpp
src/amd/compiler/aco_ir.cpp
src/amd/compiler/aco_ir.h