aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_print.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-10-18 08:22:40 -0400
committerAlyssa Rosenzweig <[email protected]>2019-10-20 12:02:31 +0000
commit8e31b1485825d64a12d23edd62b007c67b8a7fa1 (patch)
treea51e7f0c633453672b7093e4444397c19f23a124 /src/panfrost/midgard/midgard_print.c
parent5952add9a9da043341a669513e0201ef60c8d765 (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/midgard_print.c')
-rw-r--r--src/panfrost/midgard/midgard_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c
index 7f0269c8ca0..8eedcda5315 100644
--- a/src/panfrost/midgard/midgard_print.c
+++ b/src/panfrost/midgard/midgard_print.c
@@ -115,7 +115,7 @@ mir_print_instruction(midgard_instruction *ins)
case TAG_LOAD_STORE_4: {
midgard_load_store_op op = ins->load_store.op;
- const char *name = load_store_opcode_names[op];
+ const char *name = load_store_opcode_props[op].name;
assert(name);
printf("%s", name);