mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +00:00
fixed copy / paste error
This commit is contained in:
parent
4f11a22311
commit
4a3d113433
1 changed files with 10 additions and 10 deletions
20
sse4_1.hh
20
sse4_1.hh
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue