File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -359,12 +359,10 @@ static inline unsigned char search_escape_basic_neon(search_state *search)
359359 * have at least one byte that needs to be escaped.
360360 */
361361
362- uint64_t mask = 0 ;
363- if (string_scan_simd_neon (& search -> ptr , search -> end , & mask )) {
362+ if (string_scan_simd_neon (& search -> ptr , search -> end , & search -> matches_mask )) {
364363 search -> has_matches = true;
365364 search -> chunk_base = search -> ptr ;
366365 search -> chunk_end = search -> ptr + sizeof (uint8x16_t );
367- search -> matches_mask = mask ;
368366 return neon_next_match (search );
369367 }
370368
@@ -444,12 +442,10 @@ static inline TARGET_SSE2 FORCE_INLINE unsigned char search_escape_basic_sse2(se
444442 }
445443 }
446444
447- int mask = 0 ;
448- if (string_scan_simd_sse2 (& search -> ptr , search -> end , & mask )) {
445+ if (string_scan_simd_sse2 (& search -> ptr , search -> end , & search -> matches_mask )) {
449446 search -> has_matches = true;
450447 search -> chunk_base = search -> ptr ;
451448 search -> chunk_end = search -> ptr + sizeof (__m128i );
452- search -> matches_mask = mask ;
453449 return sse2_next_match (search );
454450 }
455451
You can’t perform that action at this time.
0 commit comments