diff options
author | Szabolcs Nagy <nsz@port70.net> | 2017-10-22 17:39:36 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-04-17 23:43:43 -0400 |
commit | 098868b338e9afd3ef844070a94b9b10360d913f (patch) | |
tree | 423730a900d0e74311a945fc014d961d3ba1d6ba /src/math/ilogb.c | |
parent | db505b794c697631f65e6b91ff106496debb86ac (diff) | |
download | musl-098868b338e9afd3ef844070a94b9b10360d913f.tar.gz |
math: new log2f
from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7d8850edc
code size change: +177 bytes.
benchmark on x86_64 before, after, speedup:
-Os:
log2f rthruput: 11.38 ns/call 5.99 ns/call 1.9x
log2f latency: 35.01 ns/call 22.57 ns/call 1.55x
-O3:
log2f rthruput: 10.82 ns/call 5.58 ns/call 1.94x
log2f latency: 35.13 ns/call 21.04 ns/call 1.67x
Diffstat (limited to 'src/math/ilogb.c')
0 files changed, 0 insertions, 0 deletions