Commit r5970 part #3.1: Forgot to remove code unused since r5974
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5975 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c7b4df19d7
commit
16129f6f6d
|
@ -222,35 +222,6 @@ void Jit64AsmRoutineManager::Generate()
|
||||||
|
|
||||||
void Jit64AsmRoutineManager::GenerateCommon()
|
void Jit64AsmRoutineManager::GenerateCommon()
|
||||||
{
|
{
|
||||||
// USES_CR
|
|
||||||
computeRc = AlignCode16();
|
|
||||||
CMP(32, R(EAX), Imm8(0));
|
|
||||||
FixupBranch pLesser = J_CC(CC_L);
|
|
||||||
FixupBranch pGreater = J_CC(CC_G);
|
|
||||||
MOV(8, M(&PowerPC::ppcState.cr_fast[0]), Imm8(0x2)); // _x86Reg == 0
|
|
||||||
FixupBranch continue1 = J();
|
|
||||||
|
|
||||||
SetJumpTarget(pGreater);
|
|
||||||
MOV(8, M(&PowerPC::ppcState.cr_fast[0]), Imm8(0x4)); // _x86Reg > 0
|
|
||||||
FixupBranch continue2 = J();
|
|
||||||
|
|
||||||
SetJumpTarget(pLesser);
|
|
||||||
MOV(8, M(&PowerPC::ppcState.cr_fast[0]), Imm8(0x8)); // _x86Reg < 0
|
|
||||||
|
|
||||||
SetJumpTarget(continue1);
|
|
||||||
SetJumpTarget(continue2);
|
|
||||||
|
|
||||||
// cr[0] |= SPR_XER & 1
|
|
||||||
|
|
||||||
/*MOV(32, R(EAX), M(&PowerPC::ppcState.spr[SPR_XER]));
|
|
||||||
|
|
||||||
AND(32, R(EAX), Imm32(1));
|
|
||||||
|
|
||||||
MOVSX(32, 8, ECX, M(&PowerPC::ppcState.cr_fast[0]));
|
|
||||||
OR(32, R(ECX), R(EAX));
|
|
||||||
MOV(8, M(&PowerPC::ppcState.cr_fast[0]), R(ECX));*/
|
|
||||||
RET();
|
|
||||||
|
|
||||||
fifoDirectWrite8 = AlignCode4();
|
fifoDirectWrite8 = AlignCode4();
|
||||||
GenFifoWrite(8);
|
GenFifoWrite(8);
|
||||||
fifoDirectWrite16 = AlignCode4();
|
fifoDirectWrite16 = AlignCode4();
|
||||||
|
|
|
@ -221,20 +221,6 @@ void JitILAsmRoutineManager::Generate()
|
||||||
|
|
||||||
void JitILAsmRoutineManager::GenerateCommon()
|
void JitILAsmRoutineManager::GenerateCommon()
|
||||||
{
|
{
|
||||||
// USES_CR
|
|
||||||
computeRc = AlignCode16();
|
|
||||||
CMP(32, R(EAX), Imm8(0));
|
|
||||||
FixupBranch pLesser = J_CC(CC_L);
|
|
||||||
FixupBranch pGreater = J_CC(CC_G);
|
|
||||||
MOV(8, M(&PowerPC::ppcState.cr_fast[0]), Imm8(0x2)); // _x86Reg == 0
|
|
||||||
RET();
|
|
||||||
SetJumpTarget(pGreater);
|
|
||||||
MOV(8, M(&PowerPC::ppcState.cr_fast[0]), Imm8(0x4)); // _x86Reg > 0
|
|
||||||
RET();
|
|
||||||
SetJumpTarget(pLesser);
|
|
||||||
MOV(8, M(&PowerPC::ppcState.cr_fast[0]), Imm8(0x8)); // _x86Reg < 0
|
|
||||||
RET();
|
|
||||||
|
|
||||||
fifoDirectWrite8 = AlignCode4();
|
fifoDirectWrite8 = AlignCode4();
|
||||||
GenFifoWrite(8);
|
GenFifoWrite(8);
|
||||||
fifoDirectWrite16 = AlignCode4();
|
fifoDirectWrite16 = AlignCode4();
|
||||||
|
|
|
@ -45,7 +45,6 @@ public:
|
||||||
const u8 *dispatcherPcInEAX;
|
const u8 *dispatcherPcInEAX;
|
||||||
|
|
||||||
const u8 *fpException;
|
const u8 *fpException;
|
||||||
const u8 *computeRc;
|
|
||||||
const u8 *testExceptions;
|
const u8 *testExceptions;
|
||||||
const u8 *dispatchPcInEAX;
|
const u8 *dispatchPcInEAX;
|
||||||
const u8 *doTiming;
|
const u8 *doTiming;
|
||||||
|
|
Loading…
Reference in New Issue