mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
SSE2 preprocessor test for MSVC
MSVC doesn't define __SSE2__ but we can figure it out from other macros.
This commit is contained in:
parent
ea5e3bc0b1
commit
8334745063
@ -61,7 +61,7 @@
|
|||||||
#error no intrinsics!
|
#error no intrinsics!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__SSE2__)
|
#if defined(__SSE2__) || defined(_M_X64) || (_M_IX86_FP >= 2)
|
||||||
typedef __m128i m128;
|
typedef __m128i m128;
|
||||||
#else
|
#else
|
||||||
typedef struct ALIGN_DIRECTIVE {u64a hi; u64a lo;} m128;
|
typedef struct ALIGN_DIRECTIVE {u64a hi; u64a lo;} m128;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user