Skip to content

Commit 5d989bc

Browse files
Disable faulty implementation fo rotate_left on avx512
1 parent 160fb58 commit 5d989bc

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

include/xsimd/arch/xsimd_avx512bw.hpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -429,18 +429,6 @@ namespace xsimd
429429
return detail::compare_int_avx512bw<A, T, _MM_CMPINT_NE>(self, other);
430430
}
431431

432-
// rotate_left
433-
template <size_t N, class A>
434-
XSIMD_INLINE batch<uint16_t, A> rotate_left(batch<uint16_t, A> const& self, requires_arch<avx512bw>) noexcept
435-
{
436-
return _mm512_alignr_epi8(self, self, N);
437-
}
438-
template <size_t N, class A>
439-
XSIMD_INLINE batch<int16_t, A> rotate_left(batch<int16_t, A> const& self, requires_arch<avx512bw>) noexcept
440-
{
441-
return bitwise_cast<int16_t>(rotate_left<N, A>(bitwise_cast<uint16_t>(self), avx512bw {}));
442-
}
443-
444432
// sadd
445433
template <class A, class T, class = typename std::enable_if<std::is_integral<T>::value, void>::type>
446434
XSIMD_INLINE batch<T, A> sadd(batch<T, A> const& self, batch<T, A> const& other, requires_arch<avx512bw>) noexcept

0 commit comments

Comments
 (0)