diff options
author | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-12 21:28:12 +0000 |
---|---|---|
committer | janis <janis@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-12 21:28:12 +0000 |
commit | dfca499a8fd96b41f52b648ceec82f0710eeb2bd (patch) | |
tree | 58a0c77b9626fa9f717ed500d45b9b7730b665a1 | |
parent | 32cbbf3a99f7b4d91a8e645e81657070c251183f (diff) | |
download | gcc-dfca499a8fd96b41f52b648ceec82f0710eeb2bd.tar.gz |
2004-08-12 Janis Johnson <janis187@us.ibm.com>
* g++.dg/ext/altivec-12.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85907 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/ext/altivec-12.C | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 10e9e0b10e4..0233a794702 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2004-08-12 Janis Johnson <janis1872us.ibm.com> + * g++.dg/ext/altivec-12.C: New test. + * g++.dg/ext/altivec-11.C: New test. 2004-08-12 Paul Brook <paul@codesourcery.com> diff --git a/gcc/testsuite/g++.dg/ext/altivec-12.C b/gcc/testsuite/g++.dg/ext/altivec-12.C new file mode 100644 index 00000000000..a52b7d22e17 --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/altivec-12.C @@ -0,0 +1,19 @@ +/* Test vec_dst* functions with float pointer as first argument. */ +/* { dg-do compile { target powerpc*-*-* } } */ +/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */ +/* { dg-options "-maltivec" } */ + +#include <altivec.h> + +extern int i; +extern float *fp; +extern vector float vf; + +void +foo () +{ + vec_dst (fp, i, 1); + vec_dstst (fp, i, 1); + vec_dststt (fp, i, 1); + vec_dstt (fp, i, 1); +} |