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:
committed by
Marge Bot
parent
38ede4334f
commit
f8bf9f07b6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user