* config/i386/avx512fintrin.h (_mm512_set_epi16, _mm512_set_epi8,
[official-gcc.git] / gcc / testsuite / gcc.target / sh / pr56547-2.c
blobe9f1df94cebc111e30818295868d1fc6d62a80d0
1 /* Verify that the fmac insn is used for the expression 'a * b + a' and
2 'a * a + a' when -ffast-math is specified. */
3 /* { dg-do compile { target { any_fpu } } } */
4 /* { dg-options "-O1 -ffast-math" } */
5 /* { dg-final { scan-assembler-times "fmac" 2 } } */
7 float
8 test_00 (float a, float b)
10 return a * b + a;
13 float
14 test_01 (float a)
16 return a * a + a;