From: Pierre Joye Date: Tue, 17 Mar 2009 13:33:51 +0000 (+0000) Subject: - disable HAVE__CONTROLFP_S with VC9, 3x times slowdown X-Git-Tag: php-5.4.0alpha1~191^2~4128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c3df87c81fac95a4755b1ddc5e39075ab7f4c1c;p=php - disable HAVE__CONTROLFP_S with VC9, 3x times slowdown --- diff --git a/Zend/zend_float.h b/Zend/zend_float.h index aa196c33ec..591832ebe8 100644 --- a/Zend/zend_float.h +++ b/Zend/zend_float.h @@ -69,8 +69,11 @@ /* MSVC detection (MSVC people usually don't use autoconf) */ #ifdef _MSC_VER # if _MSC_VER >= 1500 + /* Disable it, it slowdowns the floating operation more than + anything else, by a factor 3 (using Bench.php (mandel and + mandel2 for example)*/ /* Visual C++ 2008 or higher, supports _controlfp_s */ -# define HAVE__CONTROLFP_S + /*# define HAVE__CONTROLFP_S */ # else /* Visual C++ (up to 2005), supports _controlfp */ # define HAVE__CONTROLFP