Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-madd-float.c
blobfcfe0c386564333148d165fc5fa60e4f2586d061
1 /* Verify that overloaded built-ins for vec_madd with float
2 inputs produce the right results. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_vsx_ok } */
6 /* { dg-options "-mvsx -O2" } */
8 #include <altivec.h>
10 vector float
11 testf_l (vector float vf2, vector float vf3, vector float vf4)
13 return vec_madd (vf2, vf3, vf4);
16 /* { dg-final { scan-assembler-times "xvmaddmsp|xvmaddasp" 1 } } */