diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2024-12-13 15:43:07 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-02-28 14:23:10 +0000 |
commit | d8e8342369831808b00324790c8809ba33408ee7 (patch) | |
tree | 074eda264ddf2c0c3bf92c472f894aff2984bf32 /time/tzset.c | |
parent | d6175a44e95fe443d0fbfed37a9ff7424f1e2661 (diff) | |
download | glibc-release/2.40/master.zip glibc-release/2.40/master.tar.gz glibc-release/2.40/master.tar.bz2 |
math: Improve layout of exp/exp10 datarelease/2.40/master
GCC aligns global data to 16 bytes if their size is >= 16 bytes. This patch
changes the exp_data struct slightly so that the fields are better aligned
and without gaps. As a result on targets that support them, more load-pair
instructions are used in exp. Exp10 is improved by moving invlog10_2N later
so that neglog10_2hiN and neglog10_2loN can be loaded using load-pair.
The exp benchmark improves 2.5%, "144bits" by 7.2%, "768bits" by 12.7% on
Neoverse V2. Exp10 improves by 1.5%.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 5afaf99edb326fd9f36eb306a828d129a3a1d7f7)
Diffstat (limited to 'time/tzset.c')
0 files changed, 0 insertions, 0 deletions