Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / vmx / 3a-04m.c
blobe394e9b8bd9a6ad7e1c7ca9ed418c5f0494459a7
1 #include "harness.h"
3 /* Small expression involving non-overloaded specific vector intrinsics. */
5 vector float
6 f(vector float a, vector float b, vector float c)
8 return vec_vmaddfp(a, vec_vrefp(b), vec_vmaxfp(c, vec_vexptefp(a)));
11 static void test()
13 check(vec_all_eq(f(((vector float){2,3,5,7}),
14 ((vector float){11,13,17,19}),
15 ((vector float){23,29,31,37})),
16 ((vector float){23.1818085, 29.2307587, 32.2940826, 128.368393})),
17 "f");