Browse Source

Remove left/rightByteShift from simd.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
fca409cf51
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      include/simd/vector.hpp

+ 0
- 9
include/simd/vector.hpp View File

@@ -149,15 +149,6 @@ inline Vector<float, 4> andnot(const Vector<float, 4> &a, const Vector<float, 4>
return Vector<float, 4>(_mm_andnot_ps(a.v, b.v));
}

/** Shifts the entire vector (not the elements) to the left by `n` bytes (not bits) */
inline Vector<int32_t, 4> leftByteShift(const Vector<int32_t, 4> &a, int n) {
return Vector<int32_t, 4>(_mm_slli_si128(a.v, n));
}

inline Vector<int32_t, 4> rightByteShift(const Vector<int32_t, 4> &a, int n) {
return Vector<int32_t, 4>(_mm_srli_si128(a.v, n));
}


// Operator overloads



Loading…
Cancel
Save