blob: bdffddedfc7b709671a7fd17417afd3d8aa2c0d6 [file] [log] [blame]
Chandler Carruth7acb9532010-11-22 08:06:31 +00001// 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 Carlsson4bf4e302009-09-18 19:18:19 +00004
Daniel Dunbar11310142009-09-18 22:09:24 +00005#if defined(i386) || defined(__x86_64__)
6
Benjamin Kramer01b57e32010-08-20 23:00:03 +00007#ifdef __SSE4_2__
8// nmmintrin forwards to smmintrin.
Eric Christopherdb59bc82010-03-20 07:48:45 +00009#include <nmmintrin.h>
Benjamin Kramer01b57e32010-08-20 23:00:03 +000010#endif
Eric Christopherdb59bc82010-03-20 07:48:45 +000011
Benjamin Kramer01b57e32010-08-20 23:00:03 +000012// immintrin includes all other intel intrinsic headers.
13#include <immintrin.h>
Bruno Cardoso Lopes55db5b82010-08-04 22:03:36 +000014
Daniel Dunbar11310142009-09-18 22:09:24 +000015#endif