aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/fpcmp-2.c
blob: 23d5cb0c4ca6eb9b5e54cd80faed66164c09320f (plain)
1
2
3
4
5
6
/* We used to use c.le.fmt instead of c.ult.fmt here.  */
/* { dg-options "-mhard-float" } */
NOMIPS16 int f1 (float x, float y) { return __builtin_islessequal (x, y); }
NOMIPS16 int f2 (double x, double y) { return __builtin_islessequal (x, y); }
/* { dg-final { scan-assembler "\tc\\.ult\\.s\t" } } */
/* { dg-final { scan-assembler "\tc\\.ult\\.d\t" } } */