summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/sparc/mfpu.c
blob: e95754c5d6bae6f8733e3408f77f91c650bb2bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Reported by Peter A. Krauss <peter.a.krauss@web.de> */

/* { dg-do compile } */
/* { dg-options "-mfpu" } */

float square(float x)
{
  return x * x;
}

/* { dg-final { scan-assembler "fmuls" } } */