ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/arc/mspfp.c

13 lines
214 B
C

/* { dg-do compile } */
/* { dg-skip-if "FPX is not an ARC HS extension" { archs } } */
/* { dg-options "-O2 -mspfp" } */
float i;
int f (void)
{
i *= 2.0;
}
/* { dg-final { scan-assembler "fadd" } } */