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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pow-1.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -ffast-math" } */
3
 
4
double test1 (double x)
5
{
6
  return __builtin_pow (x, 1./2.);
7
}
8
 
9
double test2 (double x)
10
{
11
  return __builtin_pow (x, 3./2.);
12
}
13
 
14
double test3 (double x)
15
{
16
  return __builtin_pow (x, 5./2.);
17
}
18
 
19
double test4 (double x)
20
{
21
  return __builtin_pow (x, -5./2.);
22
}
23
 
24
/* { dg-final { scan-assembler-not "call\[ \t\]*pow" } } */

powered by: WebSVN 2.1.0

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