summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar MerryMage2020-06-15 20:51:33 +0100
committerGravatar MerryMage2020-06-15 20:51:33 +0100
commit389549b80d7cd7054ec622f4038ff599386e1c04 (patch)
tree7e56ec656f8502fda634b7f175f5a3a478303f74 /src
parentmacro_jit_x64: Remove RESULT_64 (diff)
downloadyuzu-389549b80d7cd7054ec622f4038ff599386e1c04.tar.gz
yuzu-389549b80d7cd7054ec622f4038ff599386e1c04.tar.xz
yuzu-389549b80d7cd7054ec622f4038ff599386e1c04.zip
macro_jit_x64: Remove METHOD_ADDRESS_64
Unnecessary variable.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/macro/macro_jit_x64.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp
index 9a9d50866..1dcf9957c 100644
--- a/src/video_core/macro/macro_jit_x64.cpp
+++ b/src/video_core/macro/macro_jit_x64.cpp
@@ -20,7 +20,6 @@ static const Xbyak::Reg64 STATE = Xbyak::util::r11;
20static const Xbyak::Reg64 NEXT_PARAMETER = Xbyak::util::r12; 20static const Xbyak::Reg64 NEXT_PARAMETER = Xbyak::util::r12;
21static const Xbyak::Reg32 RESULT = Xbyak::util::r13d; 21static const Xbyak::Reg32 RESULT = Xbyak::util::r13d;
22static const Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d; 22static const Xbyak::Reg32 METHOD_ADDRESS = Xbyak::util::r14d;
23static const Xbyak::Reg64 METHOD_ADDRESS_64 = Xbyak::util::r14;
24static const Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15; 23static const Xbyak::Reg64 BRANCH_HOLDER = Xbyak::util::r15;
25 24
26static const std::bitset<32> PERSISTENT_REGISTERS = Common::X64::BuildRegSet({ 25static const std::bitset<32> PERSISTENT_REGISTERS = Common::X64::BuildRegSet({
@@ -328,7 +327,7 @@ void Tegra::MacroJITx64Impl::Compile_Send(Xbyak::Reg32 value) {
328 and_(METHOD_ADDRESS, 0xfff); 327 and_(METHOD_ADDRESS, 0xfff);
329 shr(ecx, 12); 328 shr(ecx, 12);
330 and_(ecx, 0x3f); 329 and_(ecx, 0x3f);
331 lea(eax, ptr[rcx + METHOD_ADDRESS_64]); 330 lea(eax, ptr[rcx + METHOD_ADDRESS.cvt64()]);
332 sal(ecx, 12); 331 sal(ecx, 12);
333 or_(eax, ecx); 332 or_(eax, ecx);
334 333