Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / arc / fma-1.c
blobc195ad98127c18779cfcee6db834e6e4a2db2f48
1 /* { dg-do compile } */
2 /* { dg-skip-if "FPU not available" { arc700 || arc6xx } } */
3 /* { dg-options "-s -std=gnu11 -O2 -frounding-math -mfpu=fpus_all" } */
5 const float a, b = 7.8539818525e01;
7 /* Check if the fma operation is generated correctly. */
9 int foo (void)
11 return (float)3.0 * b + a;
13 /* { dg-final { scan-assembler "fsmadd" } } */