summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-21 13:46:00 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-22 12:51:55 -0700
commitf162adc32ba1260fb0f1f4508ee2e1bc94fe561c (patch)
tree7d9cee411a9bf14b868eca71c00bcb708c933db0 /src
parentb89cb0dba6a6026c0fe9a36ccebce8e16913520a (diff)
pan/midgard: Disassemble integer constants in hex
It's usually easier to parse mentally. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/panfrost/midgard/disassemble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/midgard/disassemble.c b/src/panfrost/midgard/disassemble.c
index c4bdacdef68..b26dfb84e8d 100644
--- a/src/panfrost/midgard/disassemble.c
+++ b/src/panfrost/midgard/disassemble.c
@@ -947,8 +947,8 @@ print_alu_word(uint32_t *words, unsigned num_quad_words,
sconsts[2],
sconsts[3]);
} else {
- int32_t *iconsts = (int32_t *) consts;
- printf("iconstants %d, %d, %d, %d\n",
+ uint32_t *iconsts = (uint32_t *) consts;
+ printf("iconstants 0x%X, 0x%X, 0x%X, 0x%X\n",
iconsts[0],
iconsts[1],
iconsts[2],