aboutsummaryrefslogtreecommitdiff
path: root/test/Headers/x86-intrinsics-headers.c
blob: 91c4ffaa0edbf0ef3f2be0dd47e16f2d8614f850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -fsyntax-only -ffreestanding %s
// RUN: %clang_cc1 -fsyntax-only -ffreestanding -fno-lax-vector-conversions %s
// RUN: %clang_cc1 -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