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