diff options
author | bunnei <bunneidev@gmail.com> | 2020-06-17 17:20:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 17:20:52 +0200 |
commit | a8ac99b6191bbfd03f22b2de4ddc9ec55183172a (patch) | |
tree | d844e3f5c6bf903e92bb8542932bfe4525753bbf /src/video_core | |
parent | Merge pull request #4089 from MerryMage/macrojit-cleanup-1 (diff) | |
parent | xbyak_abi: Prefer returning a struct to using out parameters in ABI_CalculateFrameSize (diff) | |
download | yuzu-a8ac99b6191bbfd03f22b2de4ddc9ec55183172a.tar yuzu-a8ac99b6191bbfd03f22b2de4ddc9ec55183172a.tar.gz yuzu-a8ac99b6191bbfd03f22b2de4ddc9ec55183172a.tar.bz2 yuzu-a8ac99b6191bbfd03f22b2de4ddc9ec55183172a.tar.lz yuzu-a8ac99b6191bbfd03f22b2de4ddc9ec55183172a.tar.xz yuzu-a8ac99b6191bbfd03f22b2de4ddc9ec55183172a.tar.zst yuzu-a8ac99b6191bbfd03f22b2de4ddc9ec55183172a.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/macro/macro_jit_x64.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp index 2eb98173d..d4a97ec7b 100644 --- a/src/video_core/macro/macro_jit_x64.cpp +++ b/src/video_core/macro/macro_jit_x64.cpp @@ -295,22 +295,22 @@ void MacroJITx64Impl::Compile_Read(Macro::Opcode opcode) { sub(result, opcode.immediate * -1); } } - Common::X64::ABI_PushRegistersAndAdjustStackGPS(*this, PersistentCallerSavedRegs(), 0); + Common::X64::ABI_PushRegistersAndAdjustStack(*this, PersistentCallerSavedRegs(), 0); mov(Common::X64::ABI_PARAM1, qword[STATE]); mov(Common::X64::ABI_PARAM2, RESULT); Common::X64::CallFarFunction(*this, &Read); - Common::X64::ABI_PopRegistersAndAdjustStackGPS(*this, PersistentCallerSavedRegs(), 0); + Common::X64::ABI_PopRegistersAndAdjustStack(*this, PersistentCallerSavedRegs(), 0); mov(RESULT, Common::X64::ABI_RETURN.cvt32()); Compile_ProcessResult(opcode.result_operation, opcode.dst); } void Tegra::MacroJITx64Impl::Compile_Send(Xbyak::Reg32 value) { - Common::X64::ABI_PushRegistersAndAdjustStackGPS(*this, PersistentCallerSavedRegs(), 0); + Common::X64::ABI_PushRegistersAndAdjustStack(*this, PersistentCallerSavedRegs(), 0); mov(Common::X64::ABI_PARAM1, qword[STATE]); mov(Common::X64::ABI_PARAM2, METHOD_ADDRESS); mov(Common::X64::ABI_PARAM3, value); Common::X64::CallFarFunction(*this, &Send); - Common::X64::ABI_PopRegistersAndAdjustStackGPS(*this, PersistentCallerSavedRegs(), 0); + Common::X64::ABI_PopRegistersAndAdjustStack(*this, PersistentCallerSavedRegs(), 0); Xbyak::Label dont_process{}; // Get increment @@ -414,7 +414,7 @@ void MacroJITx64Impl::Compile() { bool keep_executing = true; labels.fill(Xbyak::Label()); - Common::X64::ABI_PushRegistersAndAdjustStackGPS(*this, Common::X64::ABI_ALL_CALLEE_SAVED, 8); + Common::X64::ABI_PushRegistersAndAdjustStack(*this, Common::X64::ABI_ALL_CALLEE_SAVED, 8); // JIT state mov(STATE, Common::X64::ABI_PARAM1); mov(PARAMETERS, Common::X64::ABI_PARAM2); @@ -452,7 +452,7 @@ void MacroJITx64Impl::Compile() { L(end_of_code); - Common::X64::ABI_PopRegistersAndAdjustStackGPS(*this, Common::X64::ABI_ALL_CALLEE_SAVED, 8); + Common::X64::ABI_PopRegistersAndAdjustStack(*this, Common::X64::ABI_ALL_CALLEE_SAVED, 8); ret(); ready(); program = getCode<ProgramType>(); |