From 867d0f01a24f24329ef6f618e742467548130d3f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 14 Feb 2014 23:46:09 -0500 Subject: [PATCH] Remove #if 0 statement in lfd() in Jit64/Jit_LoadStoreFloating.cpp --- .../PowerPC/Jit64/Jit_LoadStoreFloating.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp index bc056e6bd1..b99d04e52c 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp @@ -80,7 +80,9 @@ void Jit64::lfd(UGeckoInstruction inst) fpr.Lock(d); fpr.BindToRegister(d, true); X64Reg xd = fpr.RX(d); - if (cpu_info.bSSSE3) { + + if (cpu_info.bSSSE3) + { #ifdef _M_X64 MOVQ_xmm(XMM0, MComplex(RBX, ABI_PARAM1, SCALE_1, offset)); #else @@ -116,20 +118,9 @@ void Jit64::lfd(UGeckoInstruction inst) MOVSD(xd, R(XMM0)); MEMCHECK_END -#if 0 - // Alternate implementation; possibly faster - AND(32, R(ABI_PARAM1), Imm32(Memory::MEMVIEW32_MASK)); - MOVQ_xmm(XMM0, MDisp(ABI_PARAM1, (u32)Memory::base + offset)); - PSHUFLW(XMM0, R(XMM0), 0x1B); - PSRLW(XMM0, 8); - MOVSD(xd, R(XMM0)); - MOVQ_xmm(XMM0, MDisp(ABI_PARAM1, (u32)Memory::base + offset)); - PSHUFLW(XMM0, R(XMM0), 0x1B); - PSLLW(XMM0, 8); - POR(xd, R(XMM0)); -#endif #endif } + gpr.UnlockAll(); gpr.UnlockAllX(); fpr.UnlockAll();