r600: add time lo/hi debugging output.

This just adds the these to the debug prints.
This commit is contained in:
Dave Airlie
2018-02-26 11:05:26 +10:00
parent 22430224fe
commit 4d72a1efea
2 changed files with 12 additions and 0 deletions

View 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;

View 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;