summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/microblaze/isa/fcmp1.c
blob: 4041a2413918cd7e141d1c47dbc0b189880ab120 (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\.(le|gt)\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 ("le");
}