| 134 | /// |1|3|5|7| |
| 135 | template <typename ToInt, int kOffset, typename Int, typename Arch, Int... kShifts> |
| 136 | ARROW_FORCE_INLINE constexpr auto select_stride( |
| 137 | xsimd::batch_constant<Int, Arch, kShifts...>) { |
| 138 | static_assert(kOffset < sizeof(ToInt) / sizeof(Int)); |
| 139 | constexpr auto kStridesArr = |
| 140 | select_stride_impl<ToInt, kOffset, sizeof(ToInt) / sizeof(Int)>( |
| 141 | std::array{kShifts...}); |
| 142 | return array_to_batch_constant<kStridesArr, Arch>(); |
| 143 | } |
| 144 | |
| 145 | /// Whether we are compiling for the SSE2 or above in the SSE family (not AVX). |
| 146 | template <typename Arch> |
nothing calls this directly
no outgoing calls
no test coverage detected