From bc57f14c2d471ab9316fb6bc09f117e0c576952c Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Wed, 17 Jan 2024 00:45:11 +0100 Subject: [PATCH] aco: fix printing dpp8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_print_ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_print_ir.cpp b/src/amd/compiler/aco_print_ir.cpp index 3fc32223a41..a0ed4ebae89 100644 --- a/src/amd/compiler/aco_print_ir.cpp +++ b/src/amd/compiler/aco_print_ir.cpp @@ -713,7 +713,7 @@ print_instr_format_specific(enum amd_gfx_level gfx_level, const Instruction* ins const DPP8_instruction& dpp = instr->dpp8(); fprintf(output, " dpp8:["); for (unsigned i = 0; i < 8; i++) - fprintf(output, "%s%u", i ? "," : "", (dpp.lane_sel >> (i * 3)) & 0x8); + fprintf(output, "%s%u", i ? "," : "", (dpp.lane_sel >> (i * 3)) & 0x7); fprintf(output, "]"); if (dpp.fetch_inactive) fprintf(output, " fi");