diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-08-11 08:04:08 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-08-14 08:14:19 -0700 |
commit | 1b214630ce6f7e0099b8b6f87246246739b079cf (patch) | |
tree | bed526aa9ce38f6c09e144cf27fc24128b0b12c0 /stdio-common/fxprintf.c | |
parent | dd2794d6680d322754464448a25916ee199ce678 (diff) | |
download | glibc-1b214630ce6f7e0099b8b6f87246246739b079cf.zip glibc-1b214630ce6f7e0099b8b6f87246246739b079cf.tar.gz glibc-1b214630ce6f7e0099b8b6f87246246739b079cf.tar.bz2 |
x86_64: Add expm1 with FMA
On Skylake, it improves expm1 bench performance by:
Before After Improvement
max 70.204 68.054 3%
min 20.709 16.2 22%
mean 22.1221 16.7367 24%
NB: Add
extern long double __expm1l (long double);
extern long double __expm1f128 (long double);
for __typeof (__expm1l) and __typeof (__expm1f128) when __expm1 is
defined since __expm1 may be expanded in their declarations which
causes the build failure.
Diffstat (limited to 'stdio-common/fxprintf.c')
0 files changed, 0 insertions, 0 deletions