mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-05 05:58:19 +01:00
A32: Add ExceptionRaised IR instruction and use it
This commit is contained in:
parent
7ffbebf290
commit
f023bbb893
7 changed files with 32 additions and 2 deletions
|
|
@ -86,6 +86,10 @@ void IREmitter::CallSupervisor(const IR::U32& value) {
|
|||
Inst(Opcode::A32CallSupervisor, value);
|
||||
}
|
||||
|
||||
void IREmitter::ExceptionRaised(const Exception exception) {
|
||||
Inst(Opcode::A64ExceptionRaised, Imm32(PC()), Imm64(static_cast<u64>(exception)));
|
||||
}
|
||||
|
||||
IR::U32 IREmitter::GetCpsr() {
|
||||
return Inst<IR::U32>(Opcode::A32GetCpsr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue