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!
|
||||
#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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user