File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 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)
46214621
46224622check_operand :
46234623 /* 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 )) {
46254625 /* Even if this block only contains single-byte characters, there may have been a
46264626 * multi-byte character at the end of the previous block, which was supposed to
46274627 * have continuation bytes in this block
@@ -4641,7 +4641,7 @@ static bool mb_fast_check_utf8(zend_string *str)
46414641 goto finish_up_remaining_bytes ;
46424642 }
46434643 operand = _mm_loadu_si128 ((__m128i * )p );
4644- if (_mm_movemask_epi8 (_mm_cmplt_epi8 ( operand , _mm_setzero_si128 ()) )) {
4644+ if (_mm_movemask_epi8 (operand )) {
46454645 break ;
46464646 }
46474647 }
You can’t perform that action at this time.
0 commit comments