mirror of https://github.com/PCSX2/pcsx2.git
Works this way, and is quite a bit faster
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@41 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
e096347d51
commit
3cb1d62ccc
|
@ -1153,14 +1153,14 @@ void vuFloat2(int regd, int regTemp, int XYZW) {
|
||||||
// Clamps infinities to max/min non-infinity number (doesn't use any temp regs)
|
// Clamps infinities to max/min non-infinity number (doesn't use any temp regs)
|
||||||
void vuFloat( int info, int regd, int XYZW) {
|
void vuFloat( int info, int regd, int XYZW) {
|
||||||
if( CHECK_OVERFLOW ) {
|
if( CHECK_OVERFLOW ) {
|
||||||
/*if ( (XYZW != 0) && (XYZW != 8) && (XYZW != 0xF) ) {
|
if ( !(CHECK_EXTRA_OVERFLOW) && (XYZW != 0) && (XYZW != 8) && (XYZW != 0xF) ) {
|
||||||
int t1reg = _vuGetTempXMMreg2(info, regd);
|
int t1reg = _vuGetTempXMMreg2(info, regd);
|
||||||
if (t1reg >= 0) {
|
if (t1reg >= 0) {
|
||||||
vuFloat2( regd, t1reg, XYZW );
|
vuFloat2( regd, t1reg, XYZW );
|
||||||
_freeXMMreg( t1reg );
|
_freeXMMreg( t1reg );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
switch (XYZW) {
|
switch (XYZW) {
|
||||||
case 0: // Don't do anything if no vectors are being modified.
|
case 0: // Don't do anything if no vectors are being modified.
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue