@@ -7114,19 +7114,19 @@ static int zend_jit_cmp(dasm_State **Dst,
7114
7114
(op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))));
7115
7115
7116
7116
if ((op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG)) {
7117
- if (op1_info & (MAY_BE_ANY-MAY_BE_LONG)) {
7117
+ if (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_LONG)) {
7118
7118
if (op1_info & MAY_BE_DOUBLE) {
7119
7119
| IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >4, ZREG_TMP1
7120
7120
} else {
7121
7121
| IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >9, ZREG_TMP1
7122
7122
}
7123
7123
}
7124
- if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_LONG))) {
7124
+ if (!same_ops && (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_LONG))) {
7125
7125
if (op2_info & MAY_BE_DOUBLE) {
7126
7126
| IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >3, ZREG_TMP1
7127
7127
|.cold_code
7128
7128
|3:
7129
- if (op2_info & (MAY_BE_ANY-(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7129
+ if (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7130
7130
| IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >9, ZREG_TMP1
7131
7131
}
7132
7132
if (!zend_jit_cmp_long_double(Dst, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, target_label, target_label2, exit_addr)) {
@@ -7144,11 +7144,11 @@ static int zend_jit_cmp(dasm_State **Dst,
7144
7144
if (op1_info & MAY_BE_DOUBLE) {
7145
7145
|.cold_code
7146
7146
|4:
7147
- if (op1_info & (MAY_BE_ANY-(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7147
+ if (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7148
7148
| IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >9, ZREG_TMP1
7149
7149
}
7150
7150
if (op2_info & MAY_BE_DOUBLE) {
7151
- if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE))) {
7151
+ if (!same_ops && (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE))) {
7152
7152
if (!same_ops) {
7153
7153
| IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >5, ZREG_TMP1
7154
7154
} else {
@@ -7162,7 +7162,7 @@ static int zend_jit_cmp(dasm_State **Dst,
7162
7162
}
7163
7163
if (!same_ops) {
7164
7164
|5:
7165
- if (op2_info & (MAY_BE_ANY-(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7165
+ if (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_LONG|MAY_BE_DOUBLE))) {
7166
7166
| IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >9, ZREG_TMP1
7167
7167
}
7168
7168
if (!zend_jit_cmp_double_long(Dst, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, target_label, target_label2, exit_addr)) {
@@ -7175,11 +7175,11 @@ static int zend_jit_cmp(dasm_State **Dst,
7175
7175
} else if ((op1_info & MAY_BE_DOUBLE) &&
7176
7176
!(op1_info & MAY_BE_LONG) &&
7177
7177
(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) {
7178
- if (op1_info & (MAY_BE_ANY-MAY_BE_DOUBLE)) {
7178
+ if (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE)) {
7179
7179
| IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >9, ZREG_TMP1
7180
7180
}
7181
7181
if (op2_info & MAY_BE_DOUBLE) {
7182
- if (!same_ops && (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE))) {
7182
+ if (!same_ops && (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE))) {
7183
7183
if (!same_ops && (op2_info & MAY_BE_LONG)) {
7184
7184
| IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >3, ZREG_TMP1
7185
7185
} else {
@@ -7195,7 +7195,7 @@ static int zend_jit_cmp(dasm_State **Dst,
7195
7195
|.cold_code
7196
7196
}
7197
7197
|3:
7198
- if (op2_info & (MAY_BE_ANY-(MAY_BE_DOUBLE|MAY_BE_LONG))) {
7198
+ if (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_DOUBLE|MAY_BE_LONG))) {
7199
7199
| IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >9, ZREG_TMP1
7200
7200
}
7201
7201
if (!zend_jit_cmp_double_long(Dst, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, target_label, target_label2, exit_addr)) {
@@ -7209,11 +7209,11 @@ static int zend_jit_cmp(dasm_State **Dst,
7209
7209
} else if ((op2_info & MAY_BE_DOUBLE) &&
7210
7210
!(op2_info & MAY_BE_LONG) &&
7211
7211
(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) {
7212
- if (op2_info & (MAY_BE_ANY-MAY_BE_DOUBLE)) {
7212
+ if (op2_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE)) {
7213
7213
| IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >9, ZREG_TMP1
7214
7214
}
7215
7215
if (op1_info & MAY_BE_DOUBLE) {
7216
- if (!same_ops && (op1_info & (MAY_BE_ANY-MAY_BE_DOUBLE))) {
7216
+ if (!same_ops && (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -MAY_BE_DOUBLE))) {
7217
7217
if (!same_ops && (op1_info & MAY_BE_LONG)) {
7218
7218
| IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >3, ZREG_TMP1
7219
7219
} else {
@@ -7229,7 +7229,7 @@ static int zend_jit_cmp(dasm_State **Dst,
7229
7229
|.cold_code
7230
7230
}
7231
7231
|3:
7232
- if (op1_info & (MAY_BE_ANY-(MAY_BE_DOUBLE|MAY_BE_LONG))) {
7232
+ if (op1_info & (( MAY_BE_ANY|MAY_BE_UNDEF) -(MAY_BE_DOUBLE|MAY_BE_LONG))) {
7233
7233
| IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >9, ZREG_TMP1
7234
7234
}
7235
7235
if (!zend_jit_cmp_long_double(Dst, opline, op1_addr, op2_addr, res_addr, smart_branch_opcode, target_label, target_label2, exit_addr)) {
0 commit comments