]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/powerpc/pr70010.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -finline-functions" } */
3 /* { dg-final { scan-assembler {\mbl vadd_no_vsx\M} } } */
5 typedef int vec_t
__attribute__((vector_size(16)));
8 __attribute__((__target__("no-vsx")))
9 vadd_no_vsx (vec_t a
, vec_t b
)
15 __attribute__((__target__("vsx")))
16 call_vadd_no_vsx (vec_t x
, vec_t y
, vec_t z
)
18 return vadd_no_vsx (x
, y
) - z
;