diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp index e17d34c097..55990d6abf 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp @@ -54,8 +54,6 @@ void Jit64::lfs(UGeckoInstruction inst) INSTRUCTION_START JITDISABLE(LoadStoreFloating) - Default(inst); return; - int d = inst.RD; int a = inst.RA; if (!a) @@ -66,10 +64,7 @@ void Jit64::lfs(UGeckoInstruction inst) s32 offset = (s32)(s16)inst.SIMM_16; if (jo.assumeFPLoadFromMem) { - gpr.FlushLockX(ABI_PARAM1); - MOV(32, R(ABI_PARAM1), gpr.R(a)); - UnsafeLoadRegToReg(ABI_PARAM1, EAX, 32, offset, false); - gpr.UnlockAllX(); + UnsafeLoadToEAX(gpr.R(a), 32, offset, false); } else { diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp index 42641c1e3d..1b3155bf63 100644 --- a/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp +++ b/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp @@ -78,10 +78,6 @@ void EmuCodeBlock::UnsafeLoadToEAX(const Gen::OpArg & opAddress, int accessSize, { MOVZX(32, accessSize, EAX, MComplex(RBX, opAddress.GetSimpleReg(), SCALE_1, offset)); } - else if (opAddress.IsImm() && (((u32)opAddress.offset + offset) < 0x80000000)) // MDisp can only be used with s32 offsets - { - MOVZX(32, accessSize, EAX, MDisp(RBX, (u32)opAddress.offset + offset)); - } else { MOV(32, R(EAX), opAddress);