diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-13 02:17:51 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-13 02:17:51 +0000 |
commit | 448e99f5e858735f9de2ab5cf614dd2b171cee5d (patch) | |
tree | 2550bf2be428ffb45e9bcb30a6c3186b44ebdc0d /gcc/testsuite/gcc.target/i386/sse-13.c | |
parent | 3e66c14e753471249291f2403f35ebcbc436d353 (diff) | |
download | gcc-448e99f5e858735f9de2ab5cf614dd2b171cee5d.tar.gz |
Add AMD SSE5 support; Add iterator over function arguments; Add stdarg_p, prototype_p, function_args_count functions
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128455 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/sse-13.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sse-13.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.target/i386/sse-13.c b/gcc/testsuite/gcc.target/i386/sse-13.c index 139d927cf3b..b6c34e2447c 100644 --- a/gcc/testsuite/gcc.target/i386/sse-13.c +++ b/gcc/testsuite/gcc.target/i386/sse-13.c @@ -1,8 +1,8 @@ -/* { dg-do compile } */ -/* { dg-options "-O2 -msse4.1 -msse4a" } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-options "-O2 -msse4.1 -msse5 " } */ /* Test that the intrinsics compile with optimization. All of them are - defined as inline functions in {,x,e,p,t,s,a}mmintrin.h that reference + defined as inline functions in {,x,e,p,t,s,a,b}mmintrin.h that reference the proper builtin functions. Defining away "static" and "__inline" results in all of them being compiled as proper functions. */ @@ -66,5 +66,11 @@ #define __builtin_ia32_vec_ext_v4hi(A, N) __builtin_ia32_vec_ext_v4hi(A, 0) #define __builtin_ia32_shufps(A, B, N) __builtin_ia32_shufps(A, B, 0) -#include <ammintrin.h> +/* bmmintrin.h */ +#define __builtin_ia32_protbi(A, B) __builtin_ia32_protbi(A,1) +#define __builtin_ia32_protwi(A, B) __builtin_ia32_protwi(A,1) +#define __builtin_ia32_protdi(A, B) __builtin_ia32_protdi(A,1) +#define __builtin_ia32_protqi(A, B) __builtin_ia32_protqi(A,1) + +#include <bmmintrin.h> #include <smmintrin.h> |