Skip to content

Commit 270a662

Browse files
committed
Fix typos
1 parent 1ce42e9 commit 270a662

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

include/xsimd/arch/xsimd_sse4_1.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ namespace xsimd
4444
// bitwise_lshift multiple (constant)
4545
template <class A, uint32_t... Vs>
4646
XSIMD_INLINE batch<uint32_t, A> bitwise_lshift(
47-
batch<uint32_t, A> const& self, batch_constant<uint32_t, A, Vs...> shifts, requires_arch<sse4_1>) noexcept
47+
batch<uint32_t, A> const& self, batch_constant<uint32_t, A, Vs...>, requires_arch<sse4_1>) noexcept
4848
{
4949
constexpr auto mults = batch_constant<uint32_t, A, static_cast<uint32_t>(1u << Vs)...>();
5050
return _mm_mullo_epi32(self, mults.as_batch());

include/xsimd/types/xsimd_api.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -367,20 +367,20 @@ namespace xsimd
367367
detail::static_check_supported_config<T, A>();
368368
return kernel::bitwise_lshift<A>(x, shift, A {});
369369
}
370-
template <class T, class A>
371-
XSIMD_INLINE batch<T, A> bitwise_lshift(batch<T, A> const& x, batch<T, A> const& shift) noexcept
372-
{
373-
detail::static_check_supported_config<T, A>();
374-
return kernel::bitwise_lshift<A>(x, shift, A {});
375-
}
376370
template <size_t shift, class T, class A>
377371
XSIMD_INLINE batch<T, A> bitwise_lshift(batch<T, A> const& x) noexcept
378372
{
379373
detail::static_check_supported_config<T, A>();
380374
return kernel::bitwise_lshift<shift, A>(x, A {});
381375
}
382-
template <class T, class A, class Vt, Vt... Values>
383-
XSIMD_INLINE batch<T, A> bitwise_lshift(batch<T, A> const& x, batch_constant<Vt, A, Values...> shift) noexcept
376+
template <class T, class A>
377+
XSIMD_INLINE batch<T, A> bitwise_lshift(batch<T, A> const& x, batch<T, A> const& shift) noexcept
378+
{
379+
detail::static_check_supported_config<T, A>();
380+
return kernel::bitwise_lshift<A>(x, shift, A {});
381+
}
382+
template <class T, class A, T... Values>
383+
XSIMD_INLINE batch<T, A> bitwise_lshift(batch<T, A> const& x, batch_constant<T, A, Values...> shift) noexcept
384384
{
385385
detail::static_check_supported_config<T, A>();
386386
return kernel::bitwise_lshift<A>(x, shift, A {});

0 commit comments

Comments
 (0)