From dec9e1910c54c158d8a4704cdab76a235e9fba49 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 17 Mar 2009 13:34:26 +0000 Subject: [PATCH] - MFH: disable HAVE__CONTROLFP_S with VC9, 3x times slowdown --- Zend/zend_float.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.40.0