mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- should not have been applied
This commit is contained in:
parent
ebe8f32891
commit
f169f6f478
2 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,7 @@ ZEND_API void zend_init_fpu(TSRMLS_D) /* {{{ */
|
||||||
EG(saved_fpu_cw_ptr) = (void*)&EG(saved_fpu_cw);
|
EG(saved_fpu_cw_ptr) = (void*)&EG(saved_fpu_cw);
|
||||||
}
|
}
|
||||||
XPFPA_STORE_CW(EG(saved_fpu_cw_ptr));
|
XPFPA_STORE_CW(EG(saved_fpu_cw_ptr));
|
||||||
// XPFPA_SWITCH_DOUBLE();
|
XPFPA_SWITCH_DOUBLE();
|
||||||
#else
|
#else
|
||||||
EG(saved_fpu_cw_ptr) = NULL;
|
EG(saved_fpu_cw_ptr) = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -474,6 +474,7 @@ static zend_always_inline int fast_increment_function(zval *op1)
|
||||||
"0:"
|
"0:"
|
||||||
:
|
:
|
||||||
: "r"(op1));
|
: "r"(op1));
|
||||||
|
#else
|
||||||
if (UNEXPECTED(Z_LVAL_P(op1) == LONG_MAX)) {
|
if (UNEXPECTED(Z_LVAL_P(op1) == LONG_MAX)) {
|
||||||
/* switch to double */
|
/* switch to double */
|
||||||
Z_DVAL_P(op1) = (double)LONG_MAX + 1.0;
|
Z_DVAL_P(op1) = (double)LONG_MAX + 1.0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue