SSE2 preprocessor test for MSVC

MSVC doesn't define __SSE2__ but we can figure it out from
other macros.
This commit is contained in:
Matthew Barr 2016-12-13 10:01:16 +11:00
parent ea5e3bc0b1
commit 8334745063

View File

@ -61,7 +61,7 @@
#error no intrinsics!
#endif
#if defined(__SSE2__)
#if defined(__SSE2__) || defined(_M_X64) || (_M_IX86_FP >= 2)
typedef __m128i m128;
#else
typedef struct ALIGN_DIRECTIVE {u64a hi; u64a lo;} m128;