aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/fpcmp-1.c
blob: c0594ff3562d881de9425bebac902717134d31ee (plain)
1
2
3
4
5
6
/* We used to use c.lt.fmt instead of c.ule.fmt here.  */
/* { dg-options "-mhard-float" } */
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 "\tc\\.ule\\.s\t" } } */
/* { dg-final { scan-assembler "\tc\\.ule\\.d\t" } } */