Properly ignore SIMD macros to avoid warning

This commit is contained in:
JohnHolmesII 2019-05-14 23:52:40 -07:00 committed by Nekotekina
parent 23094b48bb
commit ebb1ae6408
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
#include <cmath>
#if !defined(_MSC_VER) && !defined(__SSSE3__)
#define _mm_shuffle_epi8
#define _mm_shuffle_epi8(opa, opb) opb
#endif
inline u64 dup32(u32 x) { return x | static_cast<u64>(x) << 32; }

View File

@ -15,7 +15,7 @@ const bool s_use_ssse3 =
true;
#else
false;
#define _mm_shuffle_epi8
#define _mm_shuffle_epi8(opa, opb) opb
#endif
namespace