mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-10 16:38:14 +01:00
Implement arm_SVC
This commit is contained in:
parent
672ffb93d0
commit
9b2aff166a
8 changed files with 93 additions and 5 deletions
|
|
@ -250,6 +250,15 @@ void EmitX64::EmitBXWritePC(IR::Value* value_) {
|
|||
#endif
|
||||
}
|
||||
|
||||
void EmitX64::EmitCallSupervisor(IR::Value* value_) {
|
||||
auto value = reinterpret_cast<IR::Inst*>(value_);
|
||||
|
||||
auto imm32 = value->GetArg(0).get();
|
||||
reg_alloc.HostCall(nullptr, imm32);
|
||||
|
||||
code->ABI_CallFunction(reinterpret_cast<void*>(cb.CallSVC));
|
||||
}
|
||||
|
||||
void EmitX64::EmitGetCarryFromOp(IR::Value*) {
|
||||
ASSERT_MSG(0, "should never happen");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue