Debian Codegraph @

gcc/testsuite/gcc.target/epiphany/fmsub-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-times "fmsub\[ \ta-zA-Z0-9\]*," 2 } } */
4
5 #include <epiphany_intrinsics.h>
6
7 float
8 f1 (float a, float b, float c)
9 {
10 return __builtin_epiphany_fmsub (a, b, c);
11 }
12
13 float
14 f2 (float a, float b, float c)
15 {
16 return a - b * c;
17 }