Skip to content

Commit 6a2e278

Browse files
committed
Forgot arch in batch
1 parent 359ebb2 commit 6a2e278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xsimd/arch/xsimd_sse2.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ namespace xsimd
17591759
const auto high_all = _mm_unpacklo_epi64(hi0_all, hi1_all); // { hi0, hi1 }
17601760
// 4) Finally, pick per-lane: if Vn<4 → take from low_all, else from high_all
17611761
constexpr batch_bool_constant<int16_t, A, (V0 < 4), (V1 < 4), (V2 < 4), (V3 < 4), (V4 < 4), (V5 < 4), (V6 < 4), (V7 < 4)> lane_mask {};
1762-
return select(lane_mask, batch<int16_t>(low_all), batch<int16_t>(high_all));
1762+
return select(lane_mask, batch<int16_t, A>(low_all), batch<int16_t, A>(high_all));
17631763
}
17641764
template <class A, uint16_t V0, uint16_t V1, uint16_t V2, uint16_t V3, uint16_t V4, uint16_t V5, uint16_t V6, uint16_t V7>
17651765
XSIMD_INLINE batch<uint16_t, A> swizzle(batch<uint16_t, A> const& self, batch_constant<uint16_t, A, V0, V1, V2, V3, V4, V5, V6, V7> mask, requires_arch<sse2>) noexcept

0 commit comments

Comments
 (0)