nv50/ir: print PIXLD subops in debug mode
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
@@ -215,6 +215,11 @@ static const char *shflOpStr[] =
|
||||
"idx", "up", "down", "bfly"
|
||||
};
|
||||
|
||||
static const char *pixldOpStr[] =
|
||||
{
|
||||
"count", "covmask", "offset", "cent_offset", "sampleid"
|
||||
};
|
||||
|
||||
static const char *DataTypeStr[] =
|
||||
{
|
||||
"-",
|
||||
@@ -571,6 +576,10 @@ void Instruction::print() const
|
||||
if (subOp < ARRAY_SIZE(shflOpStr))
|
||||
PRINT("%s ", shflOpStr[subOp]);
|
||||
break;
|
||||
case OP_PIXLD:
|
||||
if (subOp < ARRAY_SIZE(pixldOpStr))
|
||||
PRINT("%s ", pixldOpStr[subOp]);
|
||||
break;
|
||||
default:
|
||||
if (subOp)
|
||||
PRINT("(SUBOP:%u) ", subOp);
|
||||
|
||||
Reference in New Issue
Block a user