Disabled a superVU optimization that slowed down VU intense games lots.

Big speedup for Persona4 and Tekken5 :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@521 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-02-17 23:20:10 +00:00
parent 77d57a78c7
commit af89808f8f
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,7 @@ extern void iDumpVU1Registers();
// SuperVURec optimization options, uncomment only for debugging purposes
#define SUPERVU_CACHING // vu programs are saved and queried via memcompare (should be no reason to disable this)
#define SUPERVU_WRITEBACKS // don't flush the writebacks after every block
#define SUPERVU_X86CACHING // use x86reg caching (faster)
//#define SUPERVU_X86CACHING // use x86reg caching (faster) (not really. rather lots slower :p (rama) )
#define SUPERVU_VIBRANCHDELAY // when integers are modified right before a branch that uses the integer,
// the old integer value is used in the branch
// fixes kh2
@ -1899,6 +1899,7 @@ void VuBaseBlock::AssignVFRegs()
for(i = 1; i >= 0; --i) {
_VURegsNum* regs = itinst->regs+i;
#ifdef SUPERVU_X86CACHING
// redo the counters so that the proper regs are released
for(int j = 0; j < XMMREGS; ++j) {
if( xmmregs[j].inuse ) {
@ -1949,6 +1950,7 @@ void VuBaseBlock::AssignVFRegs()
}
}
}
#endif //SUPERVU_X86CACHING
if( regs->VFread0 ) _addNeededVFtoXMMreg(regs->VFread0);
if( regs->VFread1 ) _addNeededVFtoXMMreg(regs->VFread1);