]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
add arm rshift128/rshift128
authorKonstantinos Margaritis <markos@freevec.org>
Tue, 20 Jul 2021 11:33:03 +0000 (14:33 +0300)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 12 Oct 2021 08:51:34 +0000 (11:51 +0300)
src/util/supervector/arch/arm/impl.cpp

index 8bddd8eabe3e582d575d166c0b4a702f49e7030b..678ebdfbde42bd68fb31d84e59d92ecbeded2004 100644 (file)
@@ -410,5 +410,17 @@ really_inline SuperVector<16> SuperVector<16>::rshift64(uint8_t const N)
 }
 #endif
 
+template<>
+really_inline SuperVector<16> SuperVector<16>::lshift128(uint8_t const N)
+{
+       return *this << N;
+}
+
+template<>
+really_inline SuperVector<16> SuperVector<16>::rshift128(uint8_t const N)
+{
+       return *this >> N;
+}
+
 
 #endif // SIMD_IMPL_HPP