r600: add time lo/hi debugging output.
authorDave Airlie <airlied@redhat.com>
Mon, 26 Feb 2018 01:05:26 +0000 (11:05 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 26 Feb 2018 01:05:26 +0000 (11:05 +1000)
This just adds the these to the debug prints.

src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/sb/sb_bc_dump.cpp

index fdccae8c04c748521bd0cda36e8a11d5a5f80215..427e7856d281b3f56d22c59526f5bb4f668ce567 100644 (file)
@@ -2009,6 +2009,12 @@ static int print_src(struct r600_bytecode_alu *alu, unsigned idx)
                        o += fprintf(stderr, "LDS_OQ_B_POP");
                        need_chan = 1;
                        break;
+               case EG_V_SQ_ALU_SRC_TIME_LO:
+                       o += fprintf(stderr, "TIME_LO");
+                       break;
+               case EG_V_SQ_ALU_SRC_TIME_HI:
+                       o += fprintf(stderr, "TIME_HI");
+                       break;
                case EG_V_SQ_ALU_SRC_SE_ID:
                        o += fprintf(stderr, "SE_ID");
                        break;
index a3acb21e2fd07553ec8a000880aa517ae5e501ce..9b2674daf27d59089503af483d6d58043db2461d 100644 (file)
@@ -333,6 +333,12 @@ static void print_src(sb_ostream &s, bc_alu &alu, unsigned idx)
                case ALU_SRC_0:
                        s << "0";
                        break;
+               case ALU_SRC_TIME_LO:
+                       s << "TIME_LO";
+                       break;
+               case ALU_SRC_TIME_HI:
+                       s << "TIME_HI";
+                       break;
                case ALU_SRC_MASK_LO:
                        s << "MASK_LO";
                        break;