diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-10-18 08:22:40 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-10-20 12:02:31 +0000 |
commit | 8e31b1485825d64a12d23edd62b007c67b8a7fa1 (patch) | |
tree | a51e7f0c633453672b7093e4444397c19f23a124 /src/panfrost/midgard/disassemble.c | |
parent | 5952add9a9da043341a669513e0201ef60c8d765 (diff) |
pan/midgard: Tableize load/store ops
This will allow us to encode properties about the load/store ops like we
do for ALU ops. We include now properties about whether we have a store,
and if there are special cases on the load/store op. We also tag each
instruction by its natural size... this is probably not totally right,
but it's a start.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/disassemble.c')
-rw-r--r-- | src/panfrost/midgard/disassemble.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c index 7680d037937..614de3bfd00 100644 --- a/src/panfrost/midgard/disassemble.c +++ b/src/panfrost/midgard/disassemble.c @@ -90,8 +90,8 @@ print_alu_opcode(midgard_alu_op op) static void print_ld_st_opcode(midgard_load_store_op op) { - if (load_store_opcode_names[op]) - printf("%s", load_store_opcode_names[op]); + if (load_store_opcode_props[op].name) + printf("%s", load_store_opcode_props[op].name); else printf("ldst_op_%02X", op); } |