OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [sparc/] [mfpu.c] - Blame information for rev 326

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 326 jeremybenn
/* Reported by Peter A. Krauss <peter.a.krauss@web.de> */
2
 
3
/* { dg-do compile } */
4
/* { dg-options "-mfpu" } */
5
 
6
float square(float x)
7
{
8
  return x * x;
9
}
10
 
11
/* { dg-final { scan-assembler "fmuls" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.