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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [tic6x/] [fpcmp.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-require-effective-target ti_c67x } */
3
/* { dg-options "-O2" } */
4
/* { dg-final { scan-assembler-times "cmpeq.p" 4 } } */
5
 
6
double gedf (double x, double y)
7
{
8
  return x >= y;
9
}
10
 
11
double ledf (double x, double y)
12
{
13
  return x <= y;
14
}
15
 
16
float gesf (float x, float y)
17
{
18
  return x >= y;
19
}
20
 
21
float lesf (float x, float y)
22
{
23
  return x <= y;
24
}

powered by: WebSVN 2.1.0

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