6873777: FPU control word optimization still performed with SSE
authornever
Wed, 19 Aug 2009 18:54:35 -0700
changeset 3684 0b6d63791583
parent 3683 bbf665be687c
child 3685 e14965d942e3
6873777: FPU control word optimization still performed with SSE Reviewed-by: kvn
hotspot/src/share/vm/opto/compile.cpp
--- a/hotspot/src/share/vm/opto/compile.cpp	Mon Aug 17 14:45:02 2009 -0700
+++ b/hotspot/src/share/vm/opto/compile.cpp	Wed Aug 19 18:54:35 2009 -0700
@@ -2533,7 +2533,7 @@
 
   // If original bytecodes contained a mixture of floats and doubles
   // check if the optimizer has made it homogenous, item (3).
-  if( Use24BitFPMode && Use24BitFP &&
+  if( Use24BitFPMode && Use24BitFP && UseSSE == 0 &&
       frc.get_float_count() > 32 &&
       frc.get_double_count() == 0 &&
       (10 * frc.get_call_count() < frc.get_float_count()) ) {