We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12662a3 commit a4bfe8aCopy full SHA for a4bfe8a
1 file changed
cpp/src/arrow/util/bpacking.cc
@@ -34,9 +34,11 @@ struct UnpackDynamicFunction {
34
35
static constexpr auto implementations() {
36
return std::array {
37
- // Current SIMD unpack algorithm works terribly on SSE4.2 due to lack of variable
38
- // rhsift and poor xsimd fallback.
+#if defined(ARROW_HAVE_SSE4_2)
+ Implementation{DispatchLevel::NONE, &unpack_sse4_2<Uint>},
39
+#else
40
Implementation{DispatchLevel::NONE, &unpack_scalar<Uint>},
41
+#endif
42
#if defined(ARROW_HAVE_RUNTIME_AVX2)
43
Implementation{DispatchLevel::AVX2, &unpack_avx2<Uint>},
44
#endif
0 commit comments