aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro/macro_jit_x64.cpp
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-15 21:14:10 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-15 21:19:38 +0100
commit7cfec874c67af01de152c3dfeb58c550c4e4d65e (patch)
treea8362f8036dae087457b4d3ff66696da8d95deda /src/video_core/macro/macro_jit_x64.cpp
parent666a02395786249fbc73bb8b699493b3466709bc (diff)
macro_jit_x64: Remove unused function Compile_WriteCarry
Diffstat (limited to 'src/video_core/macro/macro_jit_x64.cpp')
-rw-r--r--src/video_core/macro/macro_jit_x64.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cpp
index 1e7b05ac95..b703daad9e 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) {
return dst;
}
-void Tegra::MacroJITx64Impl::Compile_WriteCarry(Xbyak::Reg64 dst) {
- Xbyak::Label zero{}, end{};
- xor_(ecx, ecx);
- shr(dst, 32);
- setne(cl);
- mov(dword[STATE + offsetof(JITState, carry_flag)], ecx);
-}
-
void MacroJITx64Impl::Compile_ProcessResult(Macro::ResultOperation operation, u32 reg) {
auto SetRegister = [=](u32 reg, Xbyak::Reg32 result) {
// Register 0 is supposed to always return 0. NOP is implemented as a store to the zero