2004-08-12 Janis Johnson <janis187@us.ibm.com>
* g++.dg/ext/altivec-12.C: New test.
From-SVN: r85907
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>
--- /dev/null
+/* 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);
+}