passes: Print a header in emergency_dump_function
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-add-5.c
blobcc1d8c443a1041c8b8b41afb7653d1f780b03c3d
1 /* Verify that overloaded built-ins for vec_add with float
2 inputs produce the right results. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_altivec_ok } */
6 /* { dg-options "-maltivec -mno-vsx" } */
8 #include <altivec.h>
10 vector float
11 test1 (vector float x, vector float y)
13 return vec_add (x, y);
16 /* { dg-final { scan-assembler-times "vaddfp" 1 } } */