@@ -7114,19 +7114,19 @@ static int zend_jit_cmp(dasm_State **Dst,
71147114 (op2_info & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))));
71157115
71167116 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)) {
71187118 if (op1_info & MAY_BE_DOUBLE) {
71197119 | IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >4, ZREG_TMP1
71207120 } else {
71217121 | IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >9, ZREG_TMP1
71227122 }
71237123 }
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))) {
71257125 if (op2_info & MAY_BE_DOUBLE) {
71267126 | IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >3, ZREG_TMP1
71277127 |.cold_code
71287128 |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))) {
71307130 | IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >9, ZREG_TMP1
71317131 }
71327132 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,
71447144 if (op1_info & MAY_BE_DOUBLE) {
71457145 |.cold_code
71467146 |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))) {
71487148 | IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >9, ZREG_TMP1
71497149 }
71507150 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))) {
71527152 if (!same_ops) {
71537153 | IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >5, ZREG_TMP1
71547154 } else {
@@ -7162,7 +7162,7 @@ static int zend_jit_cmp(dasm_State **Dst,
71627162 }
71637163 if (!same_ops) {
71647164 |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))) {
71667166 | IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >9, ZREG_TMP1
71677167 }
71687168 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,
71757175 } else if ((op1_info & MAY_BE_DOUBLE) &&
71767176 !(op1_info & MAY_BE_LONG) &&
71777177 (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)) {
71797179 | IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >9, ZREG_TMP1
71807180 }
71817181 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))) {
71837183 if (!same_ops && (op2_info & MAY_BE_LONG)) {
71847184 | IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >3, ZREG_TMP1
71857185 } else {
@@ -7195,7 +7195,7 @@ static int zend_jit_cmp(dasm_State **Dst,
71957195 |.cold_code
71967196 }
71977197 |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))) {
71997199 | IF_NOT_ZVAL_TYPE op2_addr, IS_LONG, >9, ZREG_TMP1
72007200 }
72017201 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,
72097209 } else if ((op2_info & MAY_BE_DOUBLE) &&
72107210 !(op2_info & MAY_BE_LONG) &&
72117211 (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)) {
72137213 | IF_NOT_ZVAL_TYPE op2_addr, IS_DOUBLE, >9, ZREG_TMP1
72147214 }
72157215 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))) {
72177217 if (!same_ops && (op1_info & MAY_BE_LONG)) {
72187218 | IF_NOT_ZVAL_TYPE op1_addr, IS_DOUBLE, >3, ZREG_TMP1
72197219 } else {
@@ -7229,7 +7229,7 @@ static int zend_jit_cmp(dasm_State **Dst,
72297229 |.cold_code
72307230 }
72317231 |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))) {
72337233 | IF_NOT_ZVAL_TYPE op1_addr, IS_LONG, >9, ZREG_TMP1
72347234 }
72357235 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