We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cfe39f commit b28ea9bCopy full SHA for b28ea9b
cpp/src/arrow/util/bpacking_simd_impl_internal.h
@@ -751,7 +751,7 @@ struct LargeKernel {
751
const auto low_swizzled = swizzle_bytes(bytes, kLowSwizzles);
752
const auto low_words = xsimd::bitwise_cast<unpacked_type>(low_swizzled);
753
simd_batch low_shifted;
754
- if constexpr (kShape.unpacked_byte_size() == 1) {
+ if constexpr (kShape.unpacked_byte_size() == 1 && HasSse2<arch_type>) {
755
// The logic of the fallback in right_shift_by_excess does not work for this single
756
// byte case case, so we use directly xsimd and its scalar fallback.
757
low_shifted = low_words >> kLowRShifts;
0 commit comments