From 92aad1140e82f0ecad024bd4915e899c5f3719d1 Mon Sep 17 00:00:00 2001 From: Fiora Date: Mon, 8 Dec 2014 23:37:32 -0800 Subject: [PATCH] JIT: fix MOVD_xmm typoes in ConvertDoubleToSingle Ordering, plus MOVQ instead of MOVD --- Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp index d018e0c3fe..a1ce65424d 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp @@ -923,7 +923,7 @@ void EmuCodeBlock::ConvertDoubleToSingle(X64Reg dst, X64Reg src) SwitchToFarCode(); SetJumpTarget(nanConversion); - MOVD_xmm(RSCRATCH, R(src)); + MOVQ_xmm(R(RSCRATCH), src); // Put the quiet bit into CF. BT(64, R(RSCRATCH), Imm8(51)); CVTSD2SS(dst, R(src)); @@ -960,7 +960,7 @@ void EmuCodeBlock::ConvertSingleToDouble(X64Reg dst, X64Reg src, bool src_is_gpr { if (dst != src) MOVAPS(dst, R(src)); - MOVD_xmm(RSCRATCH, R(src)); + MOVD_xmm(R(RSCRATCH), src); } UCOMISS(dst, R(dst));