Reverting the vufloat speedup

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@42 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
ramapcsx2 2008-08-17 01:24:40 +00:00 committed by Gregory Hainaut
parent 3cb1d62ccc
commit 39284a86c6
1 changed files with 3 additions and 2 deletions

View File

@ -1153,14 +1153,15 @@ void vuFloat2(int regd, int regTemp, int XYZW) {
// Clamps infinities to max/min non-infinity number (doesn't use any temp regs)
void vuFloat( int info, int regd, int XYZW) {
if( CHECK_OVERFLOW ) {
if ( !(CHECK_EXTRA_OVERFLOW) && (XYZW != 0) && (XYZW != 8) && (XYZW != 0xF) ) {
//Faster, doesnt break games, but seems unsafe to enable
/*if ( !(CHECK_EXTRA_OVERFLOW) && (XYZW != 0) && (XYZW != 8) && (XYZW != 0xF) ) {
int t1reg = _vuGetTempXMMreg2(info, regd);
if (t1reg >= 0) {
vuFloat2( regd, t1reg, XYZW );
_freeXMMreg( t1reg );
return;
}
}
}*/
switch (XYZW) {
case 0: // Don't do anything if no vectors are being modified.
break;