]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Improve layout of expf data
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 24 Jul 2024 14:17:47 +0000 (15:17 +0100)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Fri, 28 Feb 2025 14:31:33 +0000 (14:31 +0000)
commit0cc12d9c47eb97d82c8f5af3724b4a4bc01df74a
treeeba03ab6b13460808736526452043f65e80df5f7
parent0cd10047bf046a658f32e12833ccc42304b3b152
math: Improve layout of expf data

GCC aligns global data to 16 bytes if their size is >= 16 bytes.  This patch
changes the exp2f_data struct slightly so that the fields are better aligned.
As a result on targets that support them, load-pair instructions accessing
poly_scaled and invln2_scaled are now 16-byte aligned.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 44fa9c1080fe6a9539f0d2345b9d2ae37b8ee57a)
sysdeps/ieee754/flt-32/math_config.h