mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
SPU: IRET, SN event
This commit is contained in:
parent
64ac6a59c4
commit
d2ddb9882f
6 changed files with 49 additions and 36 deletions
|
@ -917,7 +917,10 @@ void spu_recompiler::BISL(spu_opcode_t op)
|
|||
|
||||
void spu_recompiler::IRET(spu_opcode_t op)
|
||||
{
|
||||
fmt::throw_exception("Unimplemented instruction" HERE);
|
||||
c->mov(*addr, SPU_OFF_32(srr0));
|
||||
c->and_(*addr, 0x3fffc);
|
||||
if (op.d || op.e) c->or_(*addr, op.e << 26 | op.d << 27); // interrupt flags neutralize jump table
|
||||
c->jmp(*jt);
|
||||
}
|
||||
|
||||
void spu_recompiler::BISLED(spu_opcode_t op)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue