Chandler Carruth | 7acb953 | 2010-11-22 08:06:31 +0000 | [diff] [blame] | 1 | // RUN: %clang -fsyntax-only -ffreestanding %s |
| 2 | // RUN: %clang -fsyntax-only -ffreestanding -fno-lax-vector-conversions %s |
| 3 | // RUN: %clangxx -fsyntax-only -ffreestanding -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 | |
Benjamin Kramer | 01b57e3 | 2010-08-20 23:00:03 +0000 | [diff] [blame] | 7 | #ifdef __SSE4_2__ |
| 8 | // nmmintrin forwards to smmintrin. |
Eric Christopher | db59bc8 | 2010-03-20 07:48:45 +0000 | [diff] [blame] | 9 | #include <nmmintrin.h> |
Benjamin Kramer | 01b57e3 | 2010-08-20 23:00:03 +0000 | [diff] [blame] | 10 | #endif |
Eric Christopher | db59bc8 | 2010-03-20 07:48:45 +0000 | [diff] [blame] | 11 | |
Benjamin Kramer | 01b57e3 | 2010-08-20 23:00:03 +0000 | [diff] [blame] | 12 | // immintrin includes all other intel intrinsic headers. |
| 13 | #include <immintrin.h> |
Bruno Cardoso Lopes | 55db5b8 | 2010-08-04 22:03:36 +0000 | [diff] [blame] | 14 | |
Daniel Dunbar | 1131014 | 2009-09-18 22:09:24 +0000 | [diff] [blame] | 15 | #endif |