Daniel Dunbar | 1131014 | 2009-09-18 22:09:24 +0000 | [diff] [blame] | 1 | // RUN: clang -fsyntax-only %s && |
| 2 | // RUN: clang -fsyntax-only -fno-lax-vector-conversions %s && |
| 3 | // RUN: clang -fsyntax-only -x c++ %s |
Anders Carlsson | 4bf4e30 | 2009-09-18 19:18:19 +0000 | [diff] [blame] | 4 | |
Daniel Dunbar | 1131014 | 2009-09-18 22:09:24 +0000 | [diff] [blame] | 5 | #if defined(i386) || defined(__x86_64__) |
| 6 | |
| 7 | # if defined(__MMX__) |
Anders Carlsson | 4bf4e30 | 2009-09-18 19:18:19 +0000 | [diff] [blame] | 8 | #include <emmintrin.h> |
| 9 | #include <mm_malloc.h> |
Daniel Dunbar | 1131014 | 2009-09-18 22:09:24 +0000 | [diff] [blame] | 10 | # endif |
| 11 | |
| 12 | # if defined(__SSE__) |
Anders Carlsson | 4bf4e30 | 2009-09-18 19:18:19 +0000 | [diff] [blame] | 13 | #include <xmmintrin.h> |
Daniel Dunbar | 1131014 | 2009-09-18 22:09:24 +0000 | [diff] [blame] | 14 | # endif |
| 15 | |
| 16 | # if defined(__SSE3__) |
| 17 | #include <pmmintrin.h> |
| 18 | # endif |
| 19 | |
| 20 | # if defined(__SSSE3__) |
| 21 | #include <tmmintrin.h> |
| 22 | # endif |
| 23 | |
| 24 | #endif |