Fixes GCC 4.9 compilation. It now supplies its own _mm_shuffle_epi8 intrinsic.
This commit is contained in:
parent
41f6f6adc9
commit
b2c4901b3f
|
@ -30,8 +30,8 @@ struct ArraySizeImpl : public std::extent<T>
|
||||||
#define b16(x) ( b8(x) | ( b8(x) >> 8) )
|
#define b16(x) ( b8(x) | ( b8(x) >> 8) )
|
||||||
#define b32(x) (b16(x) | (b16(x) >>16) )
|
#define b32(x) (b16(x) | (b16(x) >>16) )
|
||||||
#define ROUND_UP_POW2(x) (b32(x - 1) + 1)
|
#define ROUND_UP_POW2(x) (b32(x - 1) + 1)
|
||||||
|
#if (defined __GNUC__ && !__GNUC_PREREQ(4,9)) \
|
||||||
#if defined __GNUC__ && !defined __SSSE3__ && !defined _M_GENERIC
|
&& !defined __SSSE3__ && !defined _M_GENERIC
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
static __inline __m128i __attribute__((__always_inline__))
|
static __inline __m128i __attribute__((__always_inline__))
|
||||||
_mm_shuffle_epi8(__m128i a, __m128i mask)
|
_mm_shuffle_epi8(__m128i a, __m128i mask)
|
||||||
|
|
Loading…
Reference in New Issue