aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/microblaze/isa/fcmp2.c
blob: 3902b839db914876eeb6951dbbecfbc30170864d (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-options "-O3 -mcpu=v6.00.a -mhard-float" } */

volatile float f1, f2, f3;

void float_func () 
{
  /* { dg-final { scan-assembler "fcmp\.(lt|ge)\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1])\[^0-9]" } } */
    if (f2 < f3) 
        print ("lt");
}