aco: improve clrx disassembly
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 3 Dec 2021 12:46:26 +0000 (12:46 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Dec 2021 23:46:30 +0000 (23:46 +0000)
commitc7fa15b38157c9eec98cba327c4e1d4c0b226626
treeaf13a411b7a01b176f62a0e115fa48788527ea3e
parent11eb03c44ecec3a10d8717a9ccb7be935b06fb68
aco: improve clrx disassembly

- remove uninteresting lines of output
- remove binary offset before instructions, for easier diffing
- replace generated labels with block numbers
- add encoded instructions at the end of lines, like LLVM dissaembly
- print constant data instead of trying to disassemble it

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/14042>
src/amd/compiler/aco_print_asm.cpp