From f469fda44ca867eb115a47f7aa106897e67ff292 Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Sun, 4 Feb 2024 19:49:17 +0100 Subject: [PATCH] aco: don't print hi() for permlane opsel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_print_ir.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_print_ir.cpp b/src/amd/compiler/aco_print_ir.cpp index dc1cb50a355..cb6592077c6 100644 --- a/src/amd/compiler/aco_print_ir.cpp +++ b/src/amd/compiler/aco_print_ir.cpp @@ -821,7 +821,8 @@ aco_print_instr(enum amd_gfx_level gfx_level, const Instruction* instr, FILE* ou neg_hi = vop3p.neg_hi & ~neg; opsel_lo = vop3p.opsel_lo; opsel_hi = vop3p.opsel_hi; - } else if (instr->isVALU()) { + } else if (instr->isVALU() && instr->opcode != aco_opcode::v_permlane16_b32 && + instr->opcode != aco_opcode::v_permlanex16_b32) { const VALU_instruction& valu = instr->valu(); abs = valu.abs; neg = valu.neg;