mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-11 12:50:58 +08:00
The branch prediction hints is actually hurts performance in this case. The assembly implementation make two assumptions: 1. 'fabs (x) < 2^52' is unlikely and 2. 'x > 0.0' is unlike (if 1. is true). Since it a general floating point function, expected input is not bounded and then it is better to let the hardware handle the branches. |
||
---|---|---|
.. | ||
__longjmp-common.S | ||
__longjmp.S | ||
fprrest.S | ||
fprsave.S | ||
Makefile | ||
s_ceil.S | ||
s_ceilf.S | ||
s_copysign.S | ||
s_copysignf.S | ||
s_copysignl.S | ||
s_fabs.S | ||
s_fabsl.S | ||
s_fdim.c | ||
s_floor.S | ||
s_floorf.S | ||
s_fma.S | ||
s_fmax.S | ||
s_fmin.S | ||
s_isnan.S | ||
s_llrint.c | ||
s_llrintf.c | ||
s_lrint.S | ||
s_lround.S | ||
s_lroundf.S | ||
s_nearbyint.S | ||
s_nearbyintf.S | ||
s_rint.S | ||
s_rintf.S | ||
s_round.S | ||
s_roundf.S | ||
s_trunc.S | ||
s_truncf.S | ||
setjmp-common.S | ||
setjmp.S |