aco: print assembly with CLRXdisasm for GFX6-GFX7 if found on the system
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 17 Jan 2020 08:49:44 +0000 (09:49 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 17 Jan 2020 17:41:32 +0000 (17:41 +0000)
commit0099f85232b700c3aa6bc771c5219de71af9626e
tree5cb12d2bf28969a1ce1d45a599fcc76e94aa699b
parent51de5d5ac65ebeaaebe716291be19fd36692f5cb
aco: print assembly with CLRXdisasm for GFX6-GFX7 if found on the system

LLVM only supports GFX8+. Using CLRXdisasm works most of the time,
so it's useful to add support for it.

Original patch by Daniel Schürmann.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3439>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3439>
src/amd/compiler/aco_print_asm.cpp