Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git] / gcc-4_9 / gcc / testsuite / gcc.target / mips / fpcmp-2.c
blob6936b9009d331527a6d18721571167610d6ec5fc
1 /* We used to use c.le.fmt instead of c.ult.fmt here. */
2 /* { dg-options "isa_rev<=5 -mhard-float" } */
3 NOMIPS16 int f1 (float x, float y) { return __builtin_islessequal (x, y); }
4 NOMIPS16 int f2 (double x, double y) { return __builtin_islessequal (x, y); }
5 /* { dg-final { scan-assembler "\tc\\.ult\\.s\t" } } */
6 /* { dg-final { scan-assembler "\tc\\.ult\\.d\t" } } */