From 4a3d11343334bb9e87384c30f94f8198e3640d27 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Wed, 12 Dec 2018 11:50:20 +0100 Subject: [PATCH] fixed copy / paste error --- sse4_1.hh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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;