diff options
Diffstat (limited to 'src/freedreno/afuc/disasm.c')
-rw-r--r-- | src/freedreno/afuc/disasm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/freedreno/afuc/disasm.c b/src/freedreno/afuc/disasm.c index 5c86f4327da..f687058f615 100644 --- a/src/freedreno/afuc/disasm.c +++ b/src/freedreno/afuc/disasm.c @@ -656,9 +656,12 @@ static void disasm(uint32_t *buf, int sizedwords) break; case OPC_RET: assert(!rep); - if (instr->pad) + if (instr->ret.pad) printf("[%08x] ; ", instrs[i]); - printf("ret"); + if (instr->ret.interrupt) + printf("iret"); + else + printf("ret"); break; case OPC_WIN: assert(!rep); |