mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 21:53:31 +01:00
Woops! I put subfcx in to subfex on accident, silly me
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5181 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3754bf5d06
commit
914cb632fb
@ -386,22 +386,6 @@ void Jit64::subfic(UGeckoInstruction inst)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Jit64::subfcx(UGeckoInstruction inst)
|
void Jit64::subfcx(UGeckoInstruction inst)
|
||||||
{
|
|
||||||
INSTRUCTION_START;
|
|
||||||
Default(inst);
|
|
||||||
return;
|
|
||||||
/*
|
|
||||||
u32 a = m_GPR[_inst.RA];
|
|
||||||
u32 b = m_GPR[_inst.RB];
|
|
||||||
m_GPR[_inst.RD] = b - a;
|
|
||||||
SetCarry(a == 0 || Helper_Carry(b, 0-a));
|
|
||||||
|
|
||||||
if (_inst.OE) PanicAlert("OE: subfcx");
|
|
||||||
if (_inst.Rc) Helper_UpdateCR0(m_GPR[_inst.RD]);
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
void Jit64::subfex(UGeckoInstruction inst)
|
|
||||||
{
|
{
|
||||||
INSTRUCTION_START;
|
INSTRUCTION_START;
|
||||||
JITDISABLE(Integer)
|
JITDISABLE(Integer)
|
||||||
@ -471,6 +455,23 @@ void Jit64::subfex(UGeckoInstruction inst)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Jit64::subfex(UGeckoInstruction inst)
|
||||||
|
{
|
||||||
|
INSTRUCTION_START;
|
||||||
|
Default(inst);
|
||||||
|
return;
|
||||||
|
/*
|
||||||
|
u32 a = m_GPR[_inst.RA];
|
||||||
|
u32 b = m_GPR[_inst.RB];
|
||||||
|
int carry = GetCarry();
|
||||||
|
m_GPR[_inst.RD] = (~a) + b + carry;
|
||||||
|
SetCarry(Helper_Carry(~a, b) || Helper_Carry((~a) + b, carry));
|
||||||
|
|
||||||
|
if (_inst.OE) PanicAlert("OE: subfcx");
|
||||||
|
if (_inst.Rc) Helper_UpdateCR0(m_GPR[_inst.RD]);
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
void Jit64::subfx(UGeckoInstruction inst)
|
void Jit64::subfx(UGeckoInstruction inst)
|
||||||
{
|
{
|
||||||
INSTRUCTION_START
|
INSTRUCTION_START
|
||||||
|
Loading…
x
Reference in New Issue
Block a user