IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git] / gcc / testsuite / gcc.dg / vmx / 3a-01.c
blob86e514d4a241e3e1bf294b12eee8bb637bc1c2fe
1 #include "harness.h"
2 /* Simple use of a non-overloaded generic vector intrinsic. */
4 static vector unsigned int
5 f(vector unsigned int a, vector unsigned int b)
7 return vec_addc(a,b);
10 static void test()
12 check(vec_all_eq(f(((vector unsigned int){1,1,3,2}),
13 ((vector unsigned int){-1,-2,3,-4})),
14 ((vector unsigned int){1,0,0,0})),
15 "f");