summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/fpcmp-1.c
blob: cae48a0e93adbd4d87458afdb40e58aaaa97c9ab (plain)
1
2
3
4
5
6
/* We used to use c.lt.fmt instead of c.ule.fmt here.  */
/* { dg-options "-mhard-float -O2" } */
NOMIPS16 int f1 (float x, float y) { return __builtin_isless (x, y); }
NOMIPS16 int f2 (double x, double y) { return __builtin_isless (x, y); }
/* { dg-final { scan-assembler "c\\.ule\\.s" } } */
/* { dg-final { scan-assembler "c\\.ule\\.d" } } */