Skip to content

Commit 14b0387

Browse files
committed
Change xsimd inclusion criterion
1 parent 5d58613 commit 14b0387

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cpp/src/arrow/util/byte_stream_split_internal.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929
#include <cstdint>
3030
#include <cstring>
3131

32-
#if defined(ARROW_HAVE_NEON) || defined(ARROW_HAVE_SSE4_2) || \
33-
defined(ARROW_HAVE_RUNTIME_AVX2)
32+
// ARROW_HAVE_RUNTIME_SSE4_2 is used on x86-64 to include ARROW_HAVE_SSE4_2 and
33+
// ARROW_RUNTIME_SIMD_LEVEL != NONE.
34+
#if defined(ARROW_HAVE_NEON) || defined(ARROW_HAVE_RUNTIME_SSE4_2)
3435
# include <xsimd/xsimd.hpp>
3536
# define ARROW_HAVE_SIMD_SPLIT
3637
#endif

0 commit comments

Comments
 (0)