mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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> (cherry picked from commitf8bf9f07b6)
This commit is contained in:
parent
fce310bef4
commit
1e271414b3
2 changed files with 2 additions and 2 deletions
|
|
@ -2334,7 +2334,7 @@
|
|||
"description": "aco: print s_delay_alu INSTSKIP>3 correctly",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "94958e637d11d9dbe9345da1a8ff4048ef441389",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -371,7 +371,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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue