@@ -684,18 +684,6 @@ namespace xsimd
684684 return bitwise_cast<int16_t >(swizzle (bitwise_cast<uint16_t >(self), mask, avx512bw {}));
685685 }
686686
687- template <class A >
688- XSIMD_INLINE batch<uint8_t , A> swizzle (batch<uint8_t , A> const & self, batch<uint8_t , A> mask, requires_arch<avx512bw>) noexcept
689- {
690- return _mm512_shuffle_epi8 (self, mask);
691- }
692-
693- template <class A >
694- XSIMD_INLINE batch<int8_t , A> swizzle (batch<int8_t , A> const & self, batch<uint8_t , A> mask, requires_arch<avx512bw>) noexcept
695- {
696- return bitwise_cast<int8_t >(swizzle (bitwise_cast<uint8_t >(self), mask, avx512bw {}));
697- }
698-
699687 // swizzle (static version)
700688 template <class A , uint16_t ... Vs>
701689 XSIMD_INLINE batch<uint16_t , A> swizzle (batch<uint16_t , A> const & self, batch_constant<uint16_t , A, Vs...> mask, requires_arch<avx512bw>) noexcept
@@ -709,18 +697,6 @@ namespace xsimd
709697 return swizzle (self, mask.as_batch (), avx512bw {});
710698 }
711699
712- template <class A , uint8_t ... Vs>
713- XSIMD_INLINE batch<uint8_t , A> swizzle (batch<uint8_t , A> const & self, batch_constant<uint8_t , A, Vs...> mask, requires_arch<avx512bw>) noexcept
714- {
715- return swizzle (self, mask.as_batch (), avx512bw {});
716- }
717-
718- template <class A , uint8_t ... Vs>
719- XSIMD_INLINE batch<int8_t , A> swizzle (batch<int8_t , A> const & self, batch_constant<uint8_t , A, Vs...> mask, requires_arch<avx512bw>) noexcept
720- {
721- return swizzle (self, mask.as_batch (), avx512bw {});
722- }
723-
724700 // zip_hi
725701 template <class A , class T , class = typename std::enable_if<std::is_integral<T>::value, void >::type>
726702 XSIMD_INLINE batch<T, A> zip_hi (batch<T, A> const & self, batch<T, A> const & other, requires_arch<avx512bw>) noexcept
0 commit comments