Attempt to make a test portable.

llvm-svn: 82292
This commit is contained in:
Daniel Dunbar 2009-09-18 22:09:24 +00:00
parent 1457d067fa
commit b90893dc41
1 changed files with 20 additions and 5 deletions

View File

@ -1,9 +1,24 @@
// RUN: clang-cc -triple x86_64-apple-darwin10 -fsyntax-only --mcpu=core2 %s &&
// RUN: clang-cc -triple x86_64-apple-darwin10 -fsyntax-only --mcpu=core2 -fno-lax-vector-conversions %s &&
// RUN: clang-cc -triple x86_64-apple-darwin10 -fsyntax-only --mcpu=core2 -x c++ %s
// RUN: clang -fsyntax-only %s &&
// RUN: clang -fsyntax-only -fno-lax-vector-conversions %s &&
// RUN: clang -fsyntax-only -x c++ %s
#if defined(i386) || defined(__x86_64__)
# if defined(__MMX__)
#include <emmintrin.h>
#include <mm_malloc.h>
#include <pmmintrin.h>
#include <tmmintrin.h>
# endif
# if defined(__SSE__)
#include <xmmintrin.h>
# endif
# if defined(__SSE3__)
#include <pmmintrin.h>
# endif
# if defined(__SSSE3__)
#include <tmmintrin.h>
# endif
#endif