summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/macro/macro_jit_x64.cpp8
-rw-r--r--src/video_core/macro/macro_jit_x64.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp
index 1e7b05ac9..b703daad9 100644
--- a/src/video_core/macro/macro_jit_x64.cpp
+++ b/src/video_core/macro/macro_jit_x64.cpp
@@ -545,14 +545,6 @@ Xbyak::Reg32 MacroJITx64Impl::Compile_GetRegister(u32 index, Xbyak::Reg32 dst) {
545 return dst; 545 return dst;
546} 546}
547 547
548void Tegra::MacroJITx64Impl::Compile_WriteCarry(Xbyak::Reg64 dst) {
549 Xbyak::Label zero{}, end{};
550 xor_(ecx, ecx);
551 shr(dst, 32);
552 setne(cl);
553 mov(dword[STATE + offsetof(JITState, carry_flag)], ecx);
554}
555
556void MacroJITx64Impl::Compile_ProcessResult(Macro::ResultOperation operation, u32 reg) { 548void MacroJITx64Impl::Compile_ProcessResult(Macro::ResultOperation operation, u32 reg) {
557 auto SetRegister = [=](u32 reg, Xbyak::Reg32 result) { 549 auto SetRegister = [=](u32 reg, Xbyak::Reg32 result) {
558 // Register 0 is supposed to always return 0. NOP is implemented as a store to the zero 550 // Register 0 is supposed to always return 0. NOP is implemented as a store to the zero
diff --git a/src/video_core/macro/macro_jit_x64.h b/src/video_core/macro/macro_jit_x64.h
index 9167b2a93..a05d8df15 100644
--- a/src/video_core/macro/macro_jit_x64.h
+++ b/src/video_core/macro/macro_jit_x64.h
@@ -55,7 +55,6 @@ private:
55 55
56 Xbyak::Reg32 Compile_FetchParameter(); 56 Xbyak::Reg32 Compile_FetchParameter();
57 Xbyak::Reg32 Compile_GetRegister(u32 index, Xbyak::Reg32 dst); 57 Xbyak::Reg32 Compile_GetRegister(u32 index, Xbyak::Reg32 dst);
58 void Compile_WriteCarry(Xbyak::Reg64 dst);
59 58
60 void Compile_ProcessResult(Macro::ResultOperation operation, u32 reg); 59 void Compile_ProcessResult(Macro::ResultOperation operation, u32 reg);
61 void Compile_Send(Xbyak::Reg32 value); 60 void Compile_Send(Xbyak::Reg32 value);