Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / vmx / 3a-01a.c
blob7619d1185cb755fa3d480e10d645759b006e6b4b
1 #include "harness.h"
3 /* Simple use of a non-overloaded specific vector intrinsic. */
5 vector unsigned int
6 f(vector unsigned int a, vector unsigned int b)
8 return vec_vaddcuw(a,b);
11 void test()
13 check(vec_all_eq(f(((vector unsigned int){1,1,3,2}),
14 ((vector unsigned int){-1,-2,3,-4})),
15 ((vector unsigned int){1,0,0,0})),
16 "f");