i965/disasm: Disassemble tdr and tm registers properly.
authorMatt Turner <mattst88@gmail.com>
Mon, 3 Nov 2014 17:23:33 +0000 (09:23 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 2 Dec 2014 00:42:12 +0000 (16:42 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_disasm.c

index dd7bb4377f758364f52d4e2da7ff8695c8d5bc1e..7405d9bfd99e2dce1239395206cdd702464a0d27 100644 (file)
@@ -697,6 +697,12 @@ reg(FILE *file, unsigned _reg_file, unsigned _reg_nr)
          string(file, "ip");
          return -1;
          break;
+      case BRW_ARF_TDR:
+         format(file, "tdr0");
+         return -1;
+      case BRW_ARF_TIMESTAMP:
+         format(file, "tm%d", _reg_nr & 0x0f);
+         break;
       default:
          format(file, "ARF%d", _reg_nr);
          break;