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

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

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

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

#endif