aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/fpcmp-1.c
blob: 03c2f7926123396b8b335d10ce8b6fbde8c4115b (plain)
1
2
3
4
5
6
/* We used to use c.lt.fmt instead of c.ule.fmt here.  */
/* { dg-options "isa_rev<=5 -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" } } */