mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 11:01:01 +02:00
Fixes a bug in 32bit signed multiply on x86_64 jit
We were storing the zexted result instead of the sexted result
This commit is contained in:
1 parent
5c518dd96e
commit
05d43945a6
1 file changed
+1
-2
@@ -1652,8 +1652,7 @@ void *JITCore::CompileCode([[maybe_unused]] FEXCore::IR::IRListView<true> const
|
||||
case 4:
|
||||
movsxd(rax, GetSrc<RA_32>(Op->Header.Args[0].ID()));
|
||||
imul(GetSrc<RA_32>(Op->Header.Args[1].ID()));
|
||||
movsxd(rax, edx);
|
||||
mov(GetDst<RA_64>(Node), rdx);
|
||||
movsxd(GetDst<RA_64>(Node).cvt64(), edx);
|
||||
break;
|
||||
case 8:
|
||||
mov(rax, GetSrc<RA_64>(Op->Header.Args[0].ID()));
|
||||
|
||||
Reference in new issue
Block a user