diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-21 13:46:00 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-22 12:51:55 -0700 |
commit | f162adc32ba1260fb0f1f4508ee2e1bc94fe561c (patch) | |
tree | 7d9cee411a9bf14b868eca71c00bcb708c933db0 /src | |
parent | b89cb0dba6a6026c0fe9a36ccebce8e16913520a (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.c | 4 |
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], |