broadcom/vc5: Fix extraneous register index in QIR dumping of TLBU writes.
authorEric Anholt <eric@anholt.net>
Mon, 26 Mar 2018 19:18:39 +0000 (12:18 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Mar 2018 00:46:23 +0000 (17:46 -0700)
Just like TLB without a config uniform, we don't have a register index.

src/broadcom/compiler/vir_dump.c

index 90a3fb0ac65e6c8fcfd81be4b52b2ff19bbe4dd3..88b5dc90ac7d614b5dcc598a04d16506e67ce81a 100644 (file)
@@ -71,6 +71,7 @@ vir_print_reg(struct v3d_compile *c, struct qreg reg)
                 break;
 
         case QFILE_TLB:
+        case QFILE_TLBU:
                 fprintf(stderr, "%s", files[reg.file]);
                 break;