diff --git a/sse4_1.hh b/sse4_1.hh index 42ec37d..4c81852 100644 --- a/sse4_1.hh +++ b/sse4_1.hh @@ -12,7 +12,7 @@ Copyright 2018 Ahmet Inan template <> union SIMD { - static const int SIZE = 8; + static const int SIZE = 4; typedef float value_type; typedef uint32_t uint_type; __m128 m; @@ -23,7 +23,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 4; + static const int SIZE = 2; typedef double value_type; typedef uint64_t uint_type; __m128d m; @@ -34,7 +34,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 32; + static const int SIZE = 16; typedef int8_t value_type; typedef uint8_t uint_type; __m128i m; @@ -45,7 +45,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 16; + static const int SIZE = 8; typedef int16_t value_type; typedef uint16_t uint_type; __m128i m; @@ -56,7 +56,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 8; + static const int SIZE = 4; typedef int32_t value_type; typedef uint32_t uint_type; __m128i m; @@ -67,7 +67,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 4; + static const int SIZE = 2; typedef int64_t value_type; typedef uint64_t uint_type; __m128i m; @@ -78,7 +78,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 32; + static const int SIZE = 16; typedef uint8_t value_type; typedef uint8_t uint_type; __m128i m; @@ -89,7 +89,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 16; + static const int SIZE = 8; typedef uint16_t value_type; typedef uint16_t uint_type; __m128i m; @@ -100,7 +100,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 8; + static const int SIZE = 4; typedef uint32_t value_type; typedef uint32_t uint_type; __m128i m; @@ -111,7 +111,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 4; + static const int SIZE = 2; typedef uint64_t value_type; typedef uint64_t uint_type; __m128i m;