mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-03 21:24:38 +01:00
a64_emit_x64: Perform RSB predictions
This commit is contained in:
parent
98ec9c5f90
commit
52268298a8
2 changed files with 18 additions and 3 deletions
|
|
@ -9,7 +9,7 @@
|
|||
namespace Dynarmic::A64 {
|
||||
|
||||
bool TranslatorVisitor::SVC(Imm<16> imm16) {
|
||||
// ir.PushRSB(ir.current_location.AdvancePC(4)); // TODO
|
||||
ir.PushRSB(ir.current_location.AdvancePC(4));
|
||||
ir.SetPC(ir.Imm64(ir.current_location.PC() + 4));
|
||||
ir.CallSupervisor(imm16.ZeroExtend());
|
||||
ir.SetTerm(IR::Term::CheckHalt{IR::Term::PopRSBHint{}});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue