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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr46307.c] - Blame information for rev 848

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR debug/46307 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -g" } */
4
 
5
double fma (double, double, double);
6
 
7
double
8
foo (double x, double y, double z)
9
{
10
  double a = x * y + z;
11
  double b = __builtin_fma (x, y, z);
12
  double c = fma (x, y, z);
13
  return x / y / z;
14
}

powered by: WebSVN 2.1.0

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