55c6cacd56
It would previously return negative zero for -0.0 since -0.0 does not compare less than 0. The issue was discovered when running the libc++ test suite on softfloat MIPS64. I have verified that both clang and GCC generate sensible code for the builtin. For soft float they clear the sign bit using integer operations and in hard float mode they use abs.d. Reviewed by: #mips, jhb, brooks, imp, emaste Approved by: jhb (mentor) Differential Revision: https://reviews.freebsd.org/D13135 |
||
---|---|---|
.. | ||
hardfloat | ||
_ctx_start.S | ||
_set_tp.c | ||
_setjmp.S | ||
fabs.c | ||
fabs.S | ||
flt_rounds.c | ||
infinity.c | ||
ldexp.S | ||
longjmp.c | ||
makecontext.c | ||
Makefile.inc | ||
setjmp.S | ||
signalcontext.c | ||
sigsetjmp.S |