blob: ba833ec0389367a9d45e9a593f5e0ecadfc5c4ab [file] [log] [blame]
Daniel Dunbar80737ad2009-12-15 22:01:24 +00001// RUN: %clang -fsyntax-only %s
2// RUN: %clang -fsyntax-only -fno-lax-vector-conversions %s
Daniel Dunbar9fde9c42010-06-29 16:52:24 +00003// RUN: %clangxx -fsyntax-only -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 __MMX__
Anders Carlsson4bf4e302009-09-18 19:18:19 +00008#include <mm_malloc.h>
Benjamin Kramer01b57e32010-08-20 23:00:03 +00009#endif
Daniel Dunbar11310142009-09-18 22:09:24 +000010
Benjamin Kramer01b57e32010-08-20 23:00:03 +000011#ifdef __SSE4_2__
12// nmmintrin forwards to smmintrin.
Eric Christopherdb59bc82010-03-20 07:48:45 +000013#include <nmmintrin.h>
Benjamin Kramer01b57e32010-08-20 23:00:03 +000014#endif
Eric Christopherdb59bc82010-03-20 07:48:45 +000015
Benjamin Kramer01b57e32010-08-20 23:00:03 +000016// immintrin includes all other intel intrinsic headers.
17#include <immintrin.h>
Bruno Cardoso Lopes55db5b82010-08-04 22:03:36 +000018
Daniel Dunbar11310142009-09-18 22:09:24 +000019#endif