summaryrefslogtreecommitdiffstats
path: root/src/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-17 15:40:00 -0400
committerAlyssa Rosenzweig <[email protected]>2020-04-17 16:25:35 -0400
commitd30df466b57771ab5b28dadf6e113f46222e1b92 (patch)
treeae1976afde6360a33dda0249475cd2fd4a5e5a22 /src/panfrost
parent590d66fa0c4af564f0f6f5c294500eb816c9477f (diff)
pan/bi: Dump extra bits for disasm
Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4615>
Diffstat (limited to 'src/panfrost')
-rw-r--r--src/panfrost/bifrost/disassemble.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/disassemble.c b/src/panfrost/bifrost/disassemble.c
index 9ff4ab77f7a..64788e648ff 100644
--- a/src/panfrost/bifrost/disassemble.c
+++ b/src/panfrost/bifrost/disassemble.c
@@ -1649,6 +1649,7 @@ static void dump_add(FILE *fp, uint64_t word, struct bifrost_regs regs,
dump_16swizzle(fp, (ADD.op >> 8) & 0x3);
if (abs1 && abs2)
fprintf(fp, ")");
+ fprintf(fp, "/* %X */\n", (ADD.op >> 10) & 0x3); /* mode */
break;
}
case ADD_FADDMscale: {