2004-05-24 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/altivec-3.c: Move call to altivec_check.
From-SVN: r82211
+2004-05-24 Janis Johnson <janis187@us.ibm.com>
+
+ * gcc.dg/altivec-3.c: Move call to altivec_check.
+
2004-05-23 Mark Mitchell <mark@codesourcery.com>
PR c++/15044
abort ();
}
-main ()
+void
+main1 ()
{
int loc1 = 600, loc2 = 800;
int4 a3 = (int4) { loc1, loc2, 1000, 1200 };
float4 f3 = (float4) { 6.0, 8.0, 10.0, 12.0 };
float4 ftmp;
- altivec_check ();
-
vec_store (i3, a3);
itmp = vec_add_int4 (a1, a2);
vec_store (j3, itmp);
ftmp = vec_add_float4 (f1, f2);
vec_store (h3, ftmp);
compare_float4 (g3, h3);
+}
+int
+main ()
+{
+ altivec_check ();
+ main1 ();
exit (0);
}