Skip to content

Commit fd74ee7

Browse files
committed
JIT: Make code generation to be consistent with register allocation
Fixes ext/opcache/tests/jit/add_014.phpt with opcache.jit=1205
1 parent 73c2d79 commit fd74ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8781,7 +8781,7 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, uint32_
87818781
}
87828782
}
87838783

8784-
if ((op1_info & MAY_BE_ANY) == MAY_BE_DOUBLE) {
8784+
if ((op1_info & (MAY_BE_ANY-(MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG))) == MAY_BE_DOUBLE) {
87858785
|2:
87868786
if (CAN_USE_AVX()) {
87878787
| vxorps xmm0, xmm0, xmm0

0 commit comments

Comments
 (0)