commit | 81a3e64c7fcd7ccc43fa6e6204c55a711a629ca1 | [log] [tgz] |
---|---|---|
author | Ilya Tokar <tokarip@google.com> | Wed Feb 10 13:05:19 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 19 01:06:18 2021 -0800 |
tree | 5b070fe0e14387a1ad5356f6db74f146fbdaa960 | |
parent | 7eba071f0d5ee45af77b2a3f332905af3c2c15b3 [diff] |
[libc++] Use builtins in more math.h functions. Not using builtins doesn't always imply worse code, but for e. g. isinf, this is 30%+ faster. Before: name time/op BM_isinf 2.14ns ± 2% After: name time/op BM_isinf 1.33ns ± 2% Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D88854 GitOrigin-RevId: c81d52997ac0d1206ea0fd4935964f4c8661daed