gcc/testsuite:
[official-gcc.git] / gcc / testsuite / gcc.target / epiphany / fmadd-1.c
blob868d5bd0226c2f2bebbe5c806c95716b43d8f8b3
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-times "fmadd\[ \ta-zA-Z0-9\]*," 2 } } */
5 #include <epiphany_intrinsics.h>
7 float
8 f1 (float a, float b, float c)
10 return __builtin_epiphany_fmadd (a, b, c);
13 float
14 f2 (float a, float b, float c)
16 return a + b * c;