blob: 18127876046f6464c6f7f560dac21151dbd8773a [file] [log] [blame]
/* { dg-do assemble } */
/* { dg-options "-O2 -save-temps" } */
double
foo (double x)
{
return 1.0 / x;
}
float
foof (float x)
{
return 1.0f / x;
}
/* { dg-final { scan-assembler-times "rcp.rn.f64" 1 } } */
/* { dg-final { scan-assembler-times "rcp.rn.f32" 1 } } */