summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2020-06-15 22:14:10 +0200
committerMerryMage <MerryMage@users.noreply.github.com>2020-06-15 22:19:38 +0200
commit1799f4e7743557c8e41c15201c42431f8d6d6dde (patch)
treea8362f8036dae087457b4d3ff66696da8d95deda /src
parentmacro_jit_x64: Select better registers (diff)
downloadyuzu-1799f4e7743557c8e41c15201c42431f8d6d6dde.tar
yuzu-1799f4e7743557c8e41c15201c42431f8d6d6dde.tar.gz
yuzu-1799f4e7743557c8e41c15201c42431f8d6d6dde.tar.bz2
yuzu-1799f4e7743557c8e41c15201c42431f8d6d6dde.tar.lz
yuzu-1799f4e7743557c8e41c15201c42431f8d6d6dde.tar.xz
yuzu-1799f4e7743557c8e41c15201c42431f8d6d6dde.tar.zst
yuzu-1799f4e7743557c8e41c15201c42431f8d6d6dde.zip
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) {
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
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:
Xbyak::Reg32 Compile_FetchParameter();
Xbyak::Reg32 Compile_GetRegister(u32 index, Xbyak::Reg32 dst);
- void Compile_WriteCarry(Xbyak::Reg64 dst);
void Compile_ProcessResult(Macro::ResultOperation operation, u32 reg);
void Compile_Send(Xbyak::Reg32 value);