cvs: ZendEngine2(PHP_5_3) / zend_float.h

From: Date: Tue, 17 Mar 2009 13:34:26 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend_float.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-7452@lists.php.net to get a copy of this message
pajoye Tue Mar 17 13:34:26 2009 UTC Modified files: (Branch: PHP_5_3) /ZendEngine2 zend_float.h Log: - MFH: disable HAVE__CONTROLFP_S with VC9, 3x times slowdown http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_float.h?r1=1.2.2.3&r2=1.2.2.4&diff_format=u Index: ZendEngine2/zend_float.h diff -u ZendEngine2/zend_float.h:1.2.2.3 ZendEngine2/zend_float.h:1.2.2.4 --- ZendEngine2/zend_float.h:1.2.2.3 Fri Jan 2 20:45:41 2009 +++ ZendEngine2/zend_float.h Tue Mar 17 13:34:26 2009 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_float.h,v 1.2.2.3 2009/01/02 20:45:41 felipe Exp $ */ +/* $Id: zend_float.h,v 1.2.2.4 2009/03/17 13:34:26 pajoye Exp $ */ #ifndef ZEND_FLOAT_H #define 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

« previous php.zend-engine.cvs (#7452) next »