1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-11 12:10:50 +03:00
Files
glibc/sysdeps/x86_64/fpu/multiarch/e_sinh-fma.c
Sunil K Pandey dded0d20f6 x86_64: Add sinh with FMA
On SPR, it improves sinh bench performance by:

			Before		After		Improvement
reciprocal-throughput	14.2017		11.815		17%
latency			36.4917		35.2114		4%

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
2025-03-13 10:55:25 -07:00

13 lines
383 B
C

#define __ieee754_sinh __ieee754_sinh_fma
#define __ieee754_exp __ieee754_exp_fma
#define __expm1 __expm1_fma
/* NB: __expm1 may be expanded to __expm1_fma in the following
prototypes. */
extern long double __expm1l (long double);
extern long double __expm1f128 (long double);
#define SECTION __attribute__ ((section (".text.fma")))
#include <sysdeps/ieee754/dbl-64/e_sinh.c>