mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
Merge pull request #730 from dolphin-emu/revert-727-flags-opt
Revert "Jit64: Fix immediates being zero-extended to cr_val instead of s...
This commit is contained in:
commit
05a9f5b07a
@ -122,7 +122,7 @@ void Jit64::ComputeRC(const Gen::OpArg & arg)
|
|||||||
{
|
{
|
||||||
if (arg.IsImm())
|
if (arg.IsImm())
|
||||||
{
|
{
|
||||||
MOV(64, R(RAX), Imm32((s32)arg.offset));
|
MOV(32, R(EAX), Imm32((s32)arg.offset));
|
||||||
MOV(64, M(&PowerPC::ppcState.cr_val[0]), R(RAX));
|
MOV(64, M(&PowerPC::ppcState.cr_val[0]), R(RAX));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -394,7 +394,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
|
|||||||
if (signedCompare)
|
if (signedCompare)
|
||||||
{
|
{
|
||||||
if (gpr.R(a).IsImm())
|
if (gpr.R(a).IsImm())
|
||||||
MOV(64, R(RAX), Imm32((s32)gpr.R(a).offset));
|
MOV(64, R(RAX), gpr.R(a));
|
||||||
else
|
else
|
||||||
MOVSX(64, 32, RAX, gpr.R(a));
|
MOVSX(64, 32, RAX, gpr.R(a));
|
||||||
if (!comparand.IsImm())
|
if (!comparand.IsImm())
|
||||||
|
Loading…
Reference in New Issue
Block a user