summaryrefslogtreecommitdiffstats
path: root/test/Headers/x86-intrinsics-headers.c
blob: ba833ec0389367a9d45e9a593f5e0ecadfc5c4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: %clang -fsyntax-only %s
// RUN: %clang -fsyntax-only -fno-lax-vector-conversions %s
// RUN: %clangxx -fsyntax-only -x c++ %s

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

#ifdef __MMX__
#include <mm_malloc.h>
#endif

#ifdef __SSE4_2__
// nmmintrin forwards to smmintrin.
#include <nmmintrin.h>
#endif

// immintrin includes all other intel intrinsic headers.
#include <immintrin.h>

#endif
OpenPOWER on IntegriCloud