diff options
Diffstat (limited to 'config.tests/unix/sse2/sse2.cpp')
-rw-r--r-- | config.tests/unix/sse2/sse2.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config.tests/unix/sse2/sse2.cpp b/config.tests/unix/sse2/sse2.cpp new file mode 100644 index 0000000..ea0737d --- /dev/null +++ b/config.tests/unix/sse2/sse2.cpp @@ -0,0 +1,11 @@ +#include <emmintrin.h> +#if defined(__GNUC__) && __GNUC__ < 4 && __GNUC_MINOR__ < 3 +#error GCC < 3.2 is known to create internal compiler errors with our MMX code +#endif + +int main(int, char**) +{ + __m128i a = _mm_setzero_si128(); + _mm_maskmoveu_si128(a, _mm_setzero_si128(), 0); + return 0; +} |