File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4621,7 +4621,7 @@ static bool mb_fast_check_utf8(zend_string *str)
4621
4621
4622
4622
check_operand :
4623
4623
/* If all 16 bytes are single-byte characters, then a number of checks can be skipped */
4624
- if (!_mm_movemask_epi8 (_mm_cmplt_epi8 ( operand , _mm_setzero_si128 ()) )) {
4624
+ if (!_mm_movemask_epi8 (operand )) {
4625
4625
/* Even if this block only contains single-byte characters, there may have been a
4626
4626
* multi-byte character at the end of the previous block, which was supposed to
4627
4627
* have continuation bytes in this block
@@ -4641,7 +4641,7 @@ static bool mb_fast_check_utf8(zend_string *str)
4641
4641
goto finish_up_remaining_bytes ;
4642
4642
}
4643
4643
operand = _mm_loadu_si128 ((__m128i * )p );
4644
- if (_mm_movemask_epi8 (_mm_cmplt_epi8 ( operand , _mm_setzero_si128 ()) )) {
4644
+ if (_mm_movemask_epi8 (operand )) {
4645
4645
break ;
4646
4646
}
4647
4647
}
You can’t perform that action at this time.
0 commit comments