URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [microblaze/] [isa/] [nofcmp.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-options "-O3 -mcpu=v6.00.a " } */ volatile float f1, f2, f3; void float_func () { /* { dg-final { scan-assembler-not "fcmp" } } */ if (f2 <= f3) print ("le"); else if (f2 == f3) print ("eq"); else if (f2 < f3) print ("lt"); else if (f2 > f3) print ("gt"); else if (f2 >= f3) print ("ge"); else if (f2 != f3) print ("ne"); }
Go to most recent revision | Compare with Previous | Blame | View Log