projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c4afe3
)
aco: disable disassembly for SI/CI due to lack of support by LLVM
author
Daniel Schürmann
<daniel@schuermann.dev>
Fri, 15 Nov 2019 15:29:32 +0000
(16:29 +0100)
committer
Daniel Schürmann
<daniel@schuermann.dev>
Sat, 7 Dec 2019 10:23:11 +0000
(11:23 +0100)
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
src/amd/compiler/aco_print_asm.cpp
patch
|
blob
|
history
diff --git
a/src/amd/compiler/aco_print_asm.cpp
b/src/amd/compiler/aco_print_asm.cpp
index 743824888d6b9c4faa55f9ddd3903fbc1877e0f4..4b0ce26994be5d4d703a78f6b61f22a7f3c0ed1e 100644
(file)
--- a/
src/amd/compiler/aco_print_asm.cpp
+++ b/
src/amd/compiler/aco_print_asm.cpp
@@
-11,6
+11,10
@@
namespace aco {
void print_asm(Program *program, std::vector<uint32_t>& binary,
unsigned exec_size, std::ostream& out)
{
+ if (program->chip_class <= GFX7) {
+ out << "Disassembly for this GPU currently not supported." << std::endl;
+ return;
+ }
std::vector<bool> referenced_blocks(program->blocks.size());
referenced_blocks[0] = true;
for (Block& block : program->blocks) {