vectormath requires SSE2, but a single instruction required SSE3, added an #ifdef

so it compiles on gcc, using both -msse2 and -msse3
This commit is contained in:
erwin.coumans
2011-02-27 06:13:11 +00:00
parent c956acbb87
commit cb7f4a9728

View File

@@ -50,11 +50,13 @@
#define VECTORMATH_FORCE_INLINE inline
#endif//_WIN32
#ifdef __SSE3__
#define USE_SSE2_LDDQU
#ifdef USE_SSE2_LDDQU
#include <pmmintrin.h>//_mm_lddqu_si128
#endif //USE_SSE2_LDDQU
#endif //__SSE3__
// TODO: Tidy
typedef __m128 vec_float4;