Merge pull request #22 from phire/fix_condslt

Fix Signed LT in x86 jit
This commit is contained in:
Ryan Houdek authored and GitHub committed 2020-03-12 22:02:12 -07:00
commit 42830d3e48
1 file changed
+2 -2
+2 -2
View File
@@ -1387,8 +1387,8 @@ void *JITCore::CompileCode([[maybe_unused]] FEXCore::IR::IRListView<true> const
cmovge(rax, GetSrc<RA_64>(Op->Header.Args[2].ID()));
break;
case FEXCore::IR::COND_SLT:
mov(rax, GetSrc<RA_64>(Op->Header.Args[2].ID()));
cmovae(rax, GetSrc<RA_64>(Op->Header.Args[3].ID()));
mov(rax, GetSrc<RA_64>(Op->Header.Args[3].ID()));
cmovl(rax, GetSrc<RA_64>(Op->Header.Args[2].ID()));
break;
case FEXCore::IR::COND_SGT:
mov(rax, GetSrc<RA_64>(Op->Header.Args[3].ID()));