fix JitIL build

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3850 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-07-19 10:43:23 +00:00
parent 486445c6c7
commit 1157055ec6
3 changed files with 24 additions and 2 deletions

View File

@ -188,7 +188,7 @@ void Jit64::Init()
jo.enableFastMem = false; jo.enableFastMem = false;
#endif #endif
jo.assumeFPLoadFromMem = true; jo.assumeFPLoadFromMem = true;
jo.fpAccurateFlags = true; jo.fpAccurateFcmp = false;
jo.optimizeGatherPipe = true; jo.optimizeGatherPipe = true;
jo.fastInterrupts = false; jo.fastInterrupts = false;
jo.accurateSinglePrecision = false; jo.accurateSinglePrecision = false;

View File

@ -119,7 +119,7 @@ private:
bool optimizeStack; bool optimizeStack;
bool assumeFPLoadFromMem; bool assumeFPLoadFromMem;
bool enableBlocklink; bool enableBlocklink;
bool fpAccurateFlags; bool fpAccurateFcmp;
bool enableFastMem; bool enableFastMem;
bool optimizeGatherPipe; bool optimizeGatherPipe;
bool fastInterrupts; bool fastInterrupts;
@ -269,6 +269,7 @@ public:
void psq_st(UGeckoInstruction inst); void psq_st(UGeckoInstruction inst);
void fmaddXX(UGeckoInstruction inst); void fmaddXX(UGeckoInstruction inst);
void fsign(UGeckoInstruction inst);
void stX(UGeckoInstruction inst); //stw sth stb void stX(UGeckoInstruction inst); //stw sth stb
void lXz(UGeckoInstruction inst); void lXz(UGeckoInstruction inst);
void lha(UGeckoInstruction inst); void lha(UGeckoInstruction inst);

View File

@ -114,3 +114,24 @@ void Jit64::fcmpx(UGeckoInstruction inst)
ibuild.EmitStoreFPRF(res); ibuild.EmitStoreFPRF(res);
ibuild.EmitStoreCR(res, inst.CRFD); ibuild.EmitStoreCR(res, inst.CRFD);
} }
void Jit64::fsign(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(FloatingPoint)
Default(inst);
return;
// TODO
switch (inst.SUBOP10) {
case 40: // fnegx
break;
case 264: // fabsx
break;
case 136: // fnabs
break;
default:
PanicAlert("fsign bleh");
break;
}
}