Debian Codegraph @

gcc/testsuite/g++.target/powerpc/spu2vmx-1.C

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_spu } */
3 /* { dg-options "-maltivec" } */
4
5 #include <altivec.h>
6 #include <spu2vmx.h>
7
8 vec_uint4 f(vec_uint4 a, vec_uint4 b)
9 {
10 return spu_add(a, b);
11 }
12 vec_float4 f(vec_float4 a, vec_float4 b)
13 {
14 return spu_add(a, b);
15 }