summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2019-05-25 22:51:02 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2019-05-25 23:07:50 +0100
commit12314577c19aa52a3c4d6e724280e6b7ef9af306 (patch)
treeb0a457d9f008357f60bf5ea71720ba30845f7a63 /Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
parentec8d57d882067e1cd933f7efaed9947e8a444b3c (diff)
Jit64AsmCommon: Make ConvertDoubleToSingle use RSCRATCH as output
Diffstat (limited to 'Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp')
-rw-r--r--Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp b/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
index c21ef579aa..41ca31b273 100644
--- a/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
+++ b/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
@@ -37,7 +37,7 @@ public:
// Call
MOVQ_xmm(XMM0, R(ABI_PARAM1));
ABI_CallFunction(raw_cdts);
- MOVQ_xmm(R(ABI_RETURN), XMM0);
+ MOV(32, R(ABI_RETURN), R(RSCRATCH));
ABI_PopRegistersAndAdjustStack(ABI_ALL_CALLEE_SAVED, 8, 16);
RET();