2009-12-16 06:01:24 +08:00
|
|
|
// RUN: %clang -fsyntax-only %s
|
|
|
|
// RUN: %clang -fsyntax-only -fno-lax-vector-conversions %s
|
2010-06-30 00:52:24 +08:00
|
|
|
// RUN: %clangxx -fsyntax-only -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__)
|
|
|
|
|
|
|
|
# if defined(__MMX__)
|
2009-09-19 03:18:19 +08:00
|
|
|
#include <emmintrin.h>
|
|
|
|
#include <mm_malloc.h>
|
2009-09-19 06:09:24 +08:00
|
|
|
# endif
|
|
|
|
|
|
|
|
# if defined(__SSE__)
|
|
|
|
#include <xmmintrin.h>
|
|
|
|
# endif
|
|
|
|
|
|
|
|
# if defined(__SSE3__)
|
2009-09-19 03:18:19 +08:00
|
|
|
#include <pmmintrin.h>
|
2009-09-19 06:09:24 +08:00
|
|
|
# endif
|
|
|
|
|
|
|
|
# if defined(__SSSE3__)
|
2009-09-19 03:18:19 +08:00
|
|
|
#include <tmmintrin.h>
|
2009-09-19 06:09:24 +08:00
|
|
|
# endif
|
|
|
|
|
2010-03-20 09:06:48 +08:00
|
|
|
# if defined(__SSE4_1__)
|
|
|
|
#include <smmintrin.h>
|
|
|
|
# endif
|
|
|
|
|
2010-03-20 15:48:45 +08:00
|
|
|
# if defined(__SSE4_2__)
|
|
|
|
#include <nmmintrin.h>
|
|
|
|
# endif
|
|
|
|
|
2009-09-19 06:09:24 +08:00
|
|
|
#endif
|