blob: b3beab1c51aec44eb2de37c4aefcce7b73cf932e [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
7# if defined(__MMX__)
Anders Carlsson4bf4e302009-09-18 19:18:19 +00008#include <emmintrin.h>
9#include <mm_malloc.h>
Daniel Dunbar11310142009-09-18 22:09:24 +000010# endif
11
12# if defined(__SSE__)
Anders Carlsson4bf4e302009-09-18 19:18:19 +000013#include <xmmintrin.h>
Daniel Dunbar11310142009-09-18 22:09:24 +000014# endif
15
16# if defined(__SSE3__)
17#include <pmmintrin.h>
18# endif
19
20# if defined(__SSSE3__)
21#include <tmmintrin.h>
22# endif
23
Eric Christopher355c96e2010-03-20 01:06:48 +000024# if defined(__SSE4_1__)
25#include <smmintrin.h>
26# endif
27
Eric Christopherdb59bc82010-03-20 07:48:45 +000028# if defined(__SSE4_2__)
29#include <nmmintrin.h>
30# endif
31
Bruno Cardoso Lopes55db5b82010-08-04 22:03:36 +000032# if defined(__AVX__)
33#include <avxintrin.h>
34# endif
35
Daniel Dunbar11310142009-09-18 22:09:24 +000036#endif