From f1aae95d34fcb7e667ecdd69edd3f368497e204d Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Wed, 14 Feb 2024 09:53:04 +0100 Subject: [PATCH] forgot to change those --- avx2_double.hh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/avx2_double.hh b/avx2_double.hh index 376963f..cb96cf7 100644 --- a/avx2_double.hh +++ b/avx2_double.hh @@ -11,7 +11,7 @@ Copyright 2024 Ahmet Inan template <> union SIMD { - static const int SIZE = 8; + static const int SIZE = 16; typedef float value_type; typedef uint32_t uint_type; __m256 m[2]; @@ -22,7 +22,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 4; + static const int SIZE = 8; typedef double value_type; typedef uint64_t uint_type; __m256d m[2]; @@ -33,7 +33,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 32; + static const int SIZE = 64; typedef int8_t value_type; typedef uint8_t uint_type; __m256i m[2]; @@ -44,7 +44,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 16; + static const int SIZE = 32; typedef int16_t value_type; typedef uint16_t uint_type; __m256i m[2]; @@ -55,7 +55,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 8; + static const int SIZE = 16; typedef int32_t value_type; typedef uint32_t uint_type; __m256i m[2]; @@ -66,7 +66,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 4; + static const int SIZE = 8; typedef int64_t value_type; typedef uint64_t uint_type; __m256i m[2]; @@ -77,7 +77,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 32; + static const int SIZE = 64; typedef uint8_t value_type; typedef uint8_t uint_type; __m256i m[2]; @@ -88,7 +88,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 16; + static const int SIZE = 32; typedef uint16_t value_type; typedef uint16_t uint_type; __m256i m[2]; @@ -99,7 +99,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 8; + static const int SIZE = 16; typedef uint32_t value_type; typedef uint32_t uint_type; __m256i m[2]; @@ -110,7 +110,7 @@ union SIMD template <> union SIMD { - static const int SIZE = 4; + static const int SIZE = 8; typedef uint64_t value_type; typedef uint64_t uint_type; __m256i m[2];