Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / altivec-12.C
blob6e28204fcc577924d22f9d598a4e92b35858eb15
1 /* Test vec_dst* functions with float pointer as first argument.  */
2 /* { dg-do compile { target powerpc*-*-* } } */
3 /* { dg-xfail-if "" { "powerpc-*-eabispe*" "powerpc-ibm-aix*" } { "*" } { "" } } */
4 /* { dg-options "-maltivec" } */
6 #include <altivec.h>
8 extern int i;
9 extern float *fp;
10 extern vector float vf;
12 void
13 foo ()
15   vec_dst (fp, i, 1);
16   vec_dstst (fp, i, 1);
17   vec_dststt (fp, i, 1);
18   vec_dstt (fp, i, 1);