summaryrefslogtreecommitdiff
path: root/test/Sema/x86-intrinsics-headers.c
blob: 5b43e2bd07a40e3bd16fb19d3db184ef2db124e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// RUN: clang -fsyntax-only %s
// RUN: clang -fsyntax-only -fno-lax-vector-conversions %s
// RUN: clang -fsyntax-only -x c++ %s

#if defined(i386) || defined(__x86_64__)

#  if defined(__MMX__)
#include <emmintrin.h>
#include <mm_malloc.h>
#  endif

#  if defined(__SSE__)
#include <xmmintrin.h>
#  endif

#  if defined(__SSE3__)
#include <pmmintrin.h>
#  endif

#  if defined(__SSSE3__)
#include <tmmintrin.h>
#  endif

#endif