2010-11-22 16:06:31 +08:00
|
|
|
// RUN: %clang -fsyntax-only -ffreestanding %s
|
|
|
|
// RUN: %clang -fsyntax-only -ffreestanding -fno-lax-vector-conversions %s
|
|
|
|
// RUN: %clangxx -fsyntax-only -ffreestanding -x c++ %s
|
2009-09-19 03:18:19 +08:00
|
|
|
|
2009-09-19 06:09:24 +08:00
|
|
|
#if defined(i386) || defined(__x86_64__)
|
|
|
|
|
2010-08-21 07:00:03 +08:00
|
|
|
#ifdef __SSE4_2__
|
|
|
|
// nmmintrin forwards to smmintrin.
|
2010-03-20 15:48:45 +08:00
|
|
|
#include <nmmintrin.h>
|
2010-08-21 07:00:03 +08:00
|
|
|
#endif
|
2010-03-20 15:48:45 +08:00
|
|
|
|
2010-08-21 07:00:03 +08:00
|
|
|
// immintrin includes all other intel intrinsic headers.
|
|
|
|
#include <immintrin.h>
|
2010-08-05 06:03:36 +08:00
|
|
|
|
2009-09-19 06:09:24 +08:00
|
|
|
#endif
|