freedreno/ir3: make high regs easier to see in IR dumps
authorRob Clark <robdclark@chromium.org>
Tue, 15 Oct 2019 23:28:50 +0000 (16:28 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 24 Oct 2019 20:08:56 +0000 (13:08 -0700)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/ir3/ir3_print.c

index 63bb5b16f7a64621268da0d7ece4508b2ff6756d..fb69388f090d881ff3ccc030e4ebe0cd1edb05a1 100644 (file)
@@ -116,6 +116,8 @@ static void print_reg_name(struct ir3_register *reg)
                }
                printf("]");
        } else if (reg->flags & IR3_REG_SSA) {
+               if (reg->flags & IR3_REG_HIGH)
+                       printf("H");
                printf("_[");
                print_instr_name(reg->instr);
                printf("]");