URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 384 |
/* { dg-do run } */
|
/* { dg-do run } */
|
/* { dg-require-effective-target ilp32 } */
|
/* { dg-require-effective-target ilp32 } */
|
/* { dg-options "-O1 -ffast-math -march=i686" } */
|
/* { dg-options "-O1 -ffast-math -march=i686" } */
|
|
|
|
|
/* Sanity check for fp_jcc_* with TARGET_CMOVE. */
|
/* Sanity check for fp_jcc_* with TARGET_CMOVE. */
|
|
|
extern void abort (void);
|
extern void abort (void);
|
|
|
static int test(double a)
|
static int test(double a)
|
{
|
{
|
if (a)
|
if (a)
|
return 0;
|
return 0;
|
}
|
}
|
|
|
static double zero = 0.0;
|
static double zero = 0.0;
|
|
|
int main ()
|
int main ()
|
{
|
{
|
test (zero);
|
test (zero);
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.