From fca409cf51247d3e49b1fe6cb3c1f7534bbcd466 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 9 Jun 2019 13:26:39 -0400 Subject: [PATCH] Remove left/rightByteShift from simd. --- include/simd/vector.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/simd/vector.hpp b/include/simd/vector.hpp index 0d495e62..1eb4cbb0 100644 --- a/include/simd/vector.hpp +++ b/include/simd/vector.hpp @@ -149,15 +149,6 @@ inline Vector andnot(const Vector &a, const Vector return Vector(_mm_andnot_ps(a.v, b.v)); } -/** Shifts the entire vector (not the elements) to the left by `n` bytes (not bits) */ -inline Vector leftByteShift(const Vector &a, int n) { - return Vector(_mm_slli_si128(a.v, n)); -} - -inline Vector rightByteShift(const Vector &a, int n) { - return Vector(_mm_srli_si128(a.v, n)); -} - // Operator overloads