]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Remove unused loadu2x128
authorMatthew Barr <matthew.barr@intel.com>
Tue, 5 Apr 2016 00:13:34 +0000 (10:13 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 20 Apr 2016 03:34:55 +0000 (13:34 +1000)
src/util/simd_utils.h

index 8176e7e13f46ed2c370ff38c09d195fa7241ce05..e115aa7ae11e5047df7759fc3031e3b65210b0a4 100644 (file)
@@ -601,17 +601,6 @@ static really_inline m256 loadu256(const void *ptr) {
 #endif
 }
 
-// unaligned load of 128-bit value to low and high part of 256-bit value
-static really_inline m256 loadu2x128(const void *ptr) {
-#if defined(__AVX2__)
-    return set2x128(loadu128(ptr));
-#else
-    m256 rv;
-    rv.hi = rv.lo = loadu128(ptr);
-    return rv;
-#endif
-}
-
 // packed unaligned store of first N bytes
 static really_inline
 void storebytes256(void *ptr, m256 a, unsigned int n) {