[PATCH] x86_64: Add sinh with FMA

Andreas Schwab schwab@linux-m68k.org
Mon Aug 14 16:06:15 GMT 2023


On Aug 14 2023, H.J. Lu wrote:

> On Mon, Aug 14, 2023 at 8:50 AM Andreas Schwab <schwab@linux-m68k.org> wrote:
>>
>> On Aug 14 2023, H.J. Lu via Libc-alpha wrote:
>>
>> > +/* NB: __expm1 may be expanded to __expm1_fma in the following
>> > +   prototypes.  */
>>
>> Did you mean __expm1l?
>>
>> > +extern long double __expm1l (long double);
>> > +extern long double __expm1f128 (long double);
>
> It looks like
>
> extern long double expm1l (long double __x) __attribute__
> ((__nothrow__ )); extern long double __expm1_sse2l (long double __x)
> __attribute__ ((__nothrow__ ));
>  extern _Float128 expm1f128 (_Float128 __x) __attribute__
> ((__nothrow__ )); extern _Float128 __expm1_sse2f128 (_Float128 __x)
> __attribute__ ((__nothrow__ ));
>
> where __expm1 is expanded to __expm1_sse2.

Ok, expanded is confusing here since this is a term associated with the
preprocessor, but __expm1 doesn't occur as an identifier.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list