blob: c195ad98127c18779cfcee6db834e6e4a2db2f48 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-skip-if "FPU not available" { arc700 || arc6xx } } */
/* { dg-options "-s -std=gnu11 -O2 -frounding-math -mfpu=fpus_all" } */
const float a, b = 7.8539818525e01;
/* Check if the fma operation is generated correctly. */
int foo (void)
{
return (float)3.0 * b + a;
}
/* { dg-final { scan-assembler "fsmadd" } } */