We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f47ba9 commit a15f160Copy full SHA for a15f160
Zend/zend_float.c
@@ -22,7 +22,7 @@
22
23
ZEND_API void zend_init_fpu(void) /* {{{ */
24
{
25
-#if XPFPA_HAVE_CW
+#if XPFPA_HAVE_CW && !defined(__SSE__)
26
XPFPA_DECLARE
27
28
if (!EG(saved_fpu_cw_ptr)) {
@@ -38,7 +38,7 @@ ZEND_API void zend_init_fpu(void) /* {{{ */
38
39
ZEND_API void zend_shutdown_fpu(void) /* {{{ */
40
41
42
if (EG(saved_fpu_cw_ptr)) {
43
XPFPA_RESTORE_CW(EG(saved_fpu_cw_ptr));
44
}
@@ -49,8 +49,10 @@ ZEND_API void zend_shutdown_fpu(void) /* {{{ */
49
50
ZEND_API void zend_ensure_fpu_mode(void) /* {{{ */
51
52
+#ifndef __SSE__
53
54
55
XPFPA_SWITCH_DOUBLE();
56
+#endif
57
58
/* }}} */
0 commit comments