mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
JIT: fix MOVD_xmm typoes in ConvertDoubleToSingle
Ordering, plus MOVQ instead of MOVD
This commit is contained in:
parent
1ce3696e8b
commit
92aad1140e
@ -923,7 +923,7 @@ void EmuCodeBlock::ConvertDoubleToSingle(X64Reg dst, X64Reg src)
|
|||||||
|
|
||||||
SwitchToFarCode();
|
SwitchToFarCode();
|
||||||
SetJumpTarget(nanConversion);
|
SetJumpTarget(nanConversion);
|
||||||
MOVD_xmm(RSCRATCH, R(src));
|
MOVQ_xmm(R(RSCRATCH), src);
|
||||||
// Put the quiet bit into CF.
|
// Put the quiet bit into CF.
|
||||||
BT(64, R(RSCRATCH), Imm8(51));
|
BT(64, R(RSCRATCH), Imm8(51));
|
||||||
CVTSD2SS(dst, R(src));
|
CVTSD2SS(dst, R(src));
|
||||||
@ -960,7 +960,7 @@ void EmuCodeBlock::ConvertSingleToDouble(X64Reg dst, X64Reg src, bool src_is_gpr
|
|||||||
{
|
{
|
||||||
if (dst != src)
|
if (dst != src)
|
||||||
MOVAPS(dst, R(src));
|
MOVAPS(dst, R(src));
|
||||||
MOVD_xmm(RSCRATCH, R(src));
|
MOVD_xmm(R(RSCRATCH), src);
|
||||||
}
|
}
|
||||||
|
|
||||||
UCOMISS(dst, R(dst));
|
UCOMISS(dst, R(dst));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user