gcc/testsuite/gcc.target/sh/pr53511-1.c
raw| 1 | /* Verify that the fmac insn is used for the standard fmaf function. */ |
| 2 | /* { dg-do compile { target { any_fpu } } } */ |
| 3 | /* { dg-options "-O1" } */ |
| 4 | /* { dg-final { scan-assembler "fmac" } } */ |
| 5 | |
| 6 | #include <math.h> |
| 7 | |
| 8 | float |
| 9 | test_func_00 (float a, float b, float c) |
| 10 | { |
| 11 | return fmaf (a, b, c); |
| 12 | } |
| 13 |