Properly ignore SIMD macros to avoid warning
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#if !defined(_MSC_VER) && !defined(__SSSE3__)
|
#if !defined(_MSC_VER) && !defined(__SSSE3__)
|
||||||
#define _mm_shuffle_epi8
|
#define _mm_shuffle_epi8(opa, opb) opb
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline u64 dup32(u32 x) { return x | static_cast<u64>(x) << 32; }
|
inline u64 dup32(u32 x) { return x | static_cast<u64>(x) << 32; }
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ const bool s_use_ssse3 =
|
|||||||
true;
|
true;
|
||||||
#else
|
#else
|
||||||
false;
|
false;
|
||||||
#define _mm_shuffle_epi8
|
#define _mm_shuffle_epi8(opa, opb) opb
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user