aco: print s_delay_alu INSTSKIP>3 correctly

INSTSKIP has 3 bits.

Fixes: 94958e6 ("aco: improve printing of s_delay_alu")
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30401>
This commit is contained in:
Konstantin Seurer
2024-07-28 22:02:00 +02:00
committed by Marge Bot
parent 38ede4334f
commit f8bf9f07b6
+1 -1
View File
@@ -372,7 +372,7 @@ print_instr_format_specific(enum amd_gfx_level gfx_level, const Instruction* ins
}
case aco_opcode::s_delay_alu: {
unsigned delay[2] = {imm & 0xfu, (imm >> 7) & 0xfu};
unsigned skip = (imm >> 4) & 0x3;
unsigned skip = (imm >> 4) & 0x7;
for (unsigned i = 0; i < 2; i++) {
if (i == 1 && skip) {
if (skip == 1)