aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/lima/ir/gp/disasm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/lima/ir/gp/disasm.c b/src/gallium/drivers/lima/ir/gp/disasm.c
index 87fdded3f2d..bc0ce3bec4d 100644
--- a/src/gallium/drivers/lima/ir/gp/disasm.c
+++ b/src/gallium/drivers/lima/ir/gp/disasm.c
@@ -398,8 +398,7 @@ print_acc(gpir_codegen_instr *instr, gpir_codegen_instr *prev_instr,
bool printed = false;
const acc_op_info op = acc_op_infos[instr->acc_op];
- if (instr->acc0_src0 != gpir_codegen_src_unused &&
- instr->acc0_src1 != gpir_codegen_src_unused) {
+ if (instr->acc0_src0 != gpir_codegen_src_unused) {
printed = true;
printf("\t");
acc_op_info acc0_op = op;
@@ -432,8 +431,7 @@ print_acc(gpir_codegen_instr *instr, gpir_codegen_instr *prev_instr,
printf("\n");
}
- if (instr->acc1_src0 != gpir_codegen_src_unused &&
- instr->acc1_src1 != gpir_codegen_src_unused) {
+ if (instr->acc1_src0 != gpir_codegen_src_unused) {
printed = true;
printf("\t");
acc_op_info acc1_op = op;