dsplle-jit abs() fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7553 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0ced20c1cf
commit
f86dcf9727
|
@ -1239,12 +1239,10 @@ void DSPEmitter::abs(const UDSPInstruction opc)
|
|||
get_long_acc(dreg);
|
||||
// if (acc < 0) acc = 0 - acc;
|
||||
CMP(64, R(RAX), Imm8(0));
|
||||
FixupBranch lessThan = J_CC(CC_L);
|
||||
FixupBranch GreaterThanOrEqual = J_CC(CC_GE);
|
||||
NEG(64, R(RAX));
|
||||
set_long_acc(dreg);
|
||||
SetJumpTarget(lessThan);
|
||||
// dsp_set_long_acc(dreg, acc);
|
||||
set_long_acc(dreg);
|
||||
SetJumpTarget(GreaterThanOrEqual);
|
||||
// Update_SR_Register64(dsp_get_long_acc(dreg));
|
||||
if (FlagsNeeded())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue