mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 05:10:25 +08:00
altivec-12.C: New test.
2004-08-12 Janis Johnson <janis187@us.ibm.com> * g++.dg/ext/altivec-12.C: New test. From-SVN: r85907
This commit is contained in:
parent
e390eb0a14
commit
950a175b04
@ -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>
|
||||
|
19
gcc/testsuite/g++.dg/ext/altivec-12.C
Normal file
19
gcc/testsuite/g++.dg/ext/altivec-12.C
Normal file
@ -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);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user