OSDN Git Service

* doc/loop.texi: Document possibility not to perform disambiguation
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vmx / 3a-01m.c
1 #include "harness.h"
2
3 /* Simple use of a non-overloaded specific vector intrinsic.  */
4
5 vector unsigned int
6 f(vector unsigned int a, vector unsigned int b) 
7 {
8   return vec_vaddcuw(a,b);
9 }
10
11 static void test() 
12 {
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");
17 }