diff options
author | Samuel Pitoiset <[email protected]> | 2016-10-24 16:55:17 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-10-24 18:53:45 +0200 |
commit | d588e4f1925c5a2fc3efbf9ab192f0f6494be57b (patch) | |
tree | b5f0a7332c7722689aa196a3b93124ddaa6cb334 /src | |
parent | 537dce06ec8e0fa4becd42d5e4b3d07cf722387f (diff) |
nv50/ir: display OP_BAR subops in debug mode
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp index 0c143e5150d..78c07572846 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp @@ -236,6 +236,11 @@ static const char *cctlOpStr[] = "", "", "", "", "", "iv", "ivall" }; +static const char *barOpStr[] = +{ + "sync", "arrive", "red and", "red or", "red popc" +}; + static const char *DataTypeStr[] = { "-", @@ -611,6 +616,10 @@ void Instruction::print() const if (subOp < ARRAY_SIZE(cctlOpStr)) PRINT("%s ", cctlOpStr[subOp]); break; + case OP_BAR: + if (subOp < ARRAY_SIZE(barOpStr)) + PRINT("%s ", barOpStr[subOp]); + break; default: if (subOp) PRINT("(SUBOP:%u) ", subOp); |