From f162adc32ba1260fb0f1f4508ee2e1bc94fe561c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 21 Aug 2019 13:46:00 -0700 Subject: [PATCH] pan/midgard: Disassemble integer constants in hex It's usually easier to parse mentally. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/disassemble.c | 4 ++-- 1 file 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], -- 2.30.2