summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/microblaze/isa/fcmp3.c
blob: 8555974dda5cf63da8fc522af8f4ba4afea97c86 (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\.(eq|ne)\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 ("eq");
}