forked from suyu/suyu
fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of it
This commit is contained in:
parent
438dba40c1
commit
535947a0e1
1 changed files with 0 additions and 13 deletions
|
@ -24,19 +24,6 @@ template<> struct CompileTimeAssert<true> {};
|
||||||
|
|
||||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
||||||
|
|
||||||
#if defined __GNUC__ && !defined __SSSE3__ && !defined _M_GENERIC
|
|
||||||
#include <emmintrin.h>
|
|
||||||
static __inline __m128i __attribute__((__always_inline__))
|
|
||||||
_mm_shuffle_epi8(__m128i a, __m128i mask)
|
|
||||||
{
|
|
||||||
__m128i result;
|
|
||||||
__asm__("pshufb %1, %0"
|
|
||||||
: "=x" (result)
|
|
||||||
: "xm" (mask), "0" (a));
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
Loading…
Reference in a new issue