From 08e4bab2c4efe5e58dccc4c2c7e80f3e905108d8 Mon Sep 17 00:00:00 2001 From: cottonvibes Date: Wed, 3 Sep 2008 19:17:40 +0000 Subject: [PATCH] fixed something from the last revision. git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@92 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/x86/iVUmicro.c | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/pcsx2/x86/iVUmicro.c b/pcsx2/x86/iVUmicro.c index 68c3cfa44d..2bb6b71d9d 100644 --- a/pcsx2/x86/iVUmicro.c +++ b/pcsx2/x86/iVUmicro.c @@ -1308,23 +1308,9 @@ void vuFloat( int info, int regd, int XYZW) { // Clamps infinities to max/min non-infinity number (uses a temp reg) void vuFloat2(int regd, int regTemp, int XYZW) { - /*if( CHECK_OVERFLOW ) { - if (XYZW == 8) { - SSE_MINSS_M32_to_XMM(regd, (uptr)g_maxvals); - SSE_MAXSS_M32_to_XMM(regd, (uptr)g_minvals); - } - else if (XYZW != 0xf) { // here we use a temp reg because not all xyzw are being modified - SSE_MOVAPS_XMM_to_XMM(regTemp, regd); - SSE_MINPS_M128_to_XMM(regTemp, (uptr)g_maxvals); - SSE_MAXPS_M128_to_XMM(regTemp, (uptr)g_minvals); - VU_MERGE_REGS_CUSTOM(regd, regTemp, XYZW); - } - else { // all xyzw are being modified, so no need to use temp reg - SSE_MINPS_M128_to_XMM(regd, (uptr)g_maxvals); - SSE_MAXPS_M128_to_XMM(regd, (uptr)g_minvals); - } - }*/ - vFloats2[XYZW](regd, regTemp); + if( CHECK_OVERFLOW ) { + vFloats2[XYZW](regd, regTemp); + } } // Clamps infinities to max/min non-infinity number