MIPS32R6 and MIPS64R6 support
[official-gcc.git] / gcc / testsuite / gcc.target / mips / fpcmp-1.c
blob03c2f7926123396b8b335d10ce8b6fbde8c4115b
1 /* We used to use c.lt.fmt instead of c.ule.fmt here. */
2 /* { dg-options "isa_rev<=5 -mhard-float" } */
3 NOMIPS16 int f1 (float x, float y) { return __builtin_isless (x, y); }
4 NOMIPS16 int f2 (double x, double y) { return __builtin_isless (x, y); }
5 /* { dg-final { scan-assembler "\tc\\.ule\\.s\t" } } */
6 /* { dg-final { scan-assembler "\tc\\.ule\\.d\t" } } */