Skip to content

Commit

Permalink
fixed copy / paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
xdsopl committed Dec 12, 2018
1 parent 33c9735 commit ec19a8a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions sse4_1.hh
Expand Up @@ -12,7 +12,7 @@ Copyright 2018 Ahmet Inan <inan@aicodix.de>
template <>
union SIMD<float, 4>
{
static const int SIZE = 8;
static const int SIZE = 4;
typedef float value_type;
typedef uint32_t uint_type;
__m128 m;
Expand All @@ -23,7 +23,7 @@ union SIMD<float, 4>
template <>
union SIMD<double, 2>
{
static const int SIZE = 4;
static const int SIZE = 2;
typedef double value_type;
typedef uint64_t uint_type;
__m128d m;
Expand All @@ -34,7 +34,7 @@ union SIMD<double, 2>
template <>
union SIMD<int8_t, 16>
{
static const int SIZE = 32;
static const int SIZE = 16;
typedef int8_t value_type;
typedef uint8_t uint_type;
__m128i m;
Expand All @@ -45,7 +45,7 @@ union SIMD<int8_t, 16>
template <>
union SIMD<int16_t, 8>
{
static const int SIZE = 16;
static const int SIZE = 8;
typedef int16_t value_type;
typedef uint16_t uint_type;
__m128i m;
Expand All @@ -56,7 +56,7 @@ union SIMD<int16_t, 8>
template <>
union SIMD<int32_t, 4>
{
static const int SIZE = 8;
static const int SIZE = 4;
typedef int32_t value_type;
typedef uint32_t uint_type;
__m128i m;
Expand All @@ -67,7 +67,7 @@ union SIMD<int32_t, 4>
template <>
union SIMD<int64_t, 2>
{
static const int SIZE = 4;
static const int SIZE = 2;
typedef int64_t value_type;
typedef uint64_t uint_type;
__m128i m;
Expand All @@ -78,7 +78,7 @@ union SIMD<int64_t, 2>
template <>
union SIMD<uint8_t, 16>
{
static const int SIZE = 32;
static const int SIZE = 16;
typedef uint8_t value_type;
typedef uint8_t uint_type;
__m128i m;
Expand All @@ -89,7 +89,7 @@ union SIMD<uint8_t, 16>
template <>
union SIMD<uint16_t, 8>
{
static const int SIZE = 16;
static const int SIZE = 8;
typedef uint16_t value_type;
typedef uint16_t uint_type;
__m128i m;
Expand All @@ -100,7 +100,7 @@ union SIMD<uint16_t, 8>
template <>
union SIMD<uint32_t, 4>
{
static const int SIZE = 8;
static const int SIZE = 4;
typedef uint32_t value_type;
typedef uint32_t uint_type;
__m128i m;
Expand All @@ -111,7 +111,7 @@ union SIMD<uint32_t, 4>
template <>
union SIMD<uint64_t, 2>
{
static const int SIZE = 4;
static const int SIZE = 2;
typedef uint64_t value_type;
typedef uint64_t uint_type;
__m128i m;
Expand Down

0 comments on commit ec19a8a

Please sign in to comment.