Skip to content

Commit

Permalink
Update vectorization.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengxwen committed Dec 12, 2024
1 parent 932ec44 commit 7a36fcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vectorization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ const char *vec_char_find_CRLF(const char *p, size_t n)
const __m128i mask1 = _mm_set1_epi8('\n');
const __m128i mask2 = _mm_set1_epi8('\r');

# ifdef COREARRAY_SIMD_AVX2
#ifdef COREARRAY_SIMD_AVX2

// header 2, 32-byte aligned
if ((n >= 16) && ((size_t)p & 0x10))
Expand Down Expand Up @@ -1870,7 +1870,7 @@ const char *vec_char_find_CRLF(const char *p, size_t n)
}
}

# endif
#endif

for (; n >= 16; n-=16, p+=16)
{
Expand Down

0 comments on commit 7a36fcb

Please sign in to comment.