This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add float128 support for x86_64, x86
On Sat, 24 Jun 2017, Florian Weimer wrote:
> * Joseph Myers:
>
> > * sysdeps/x86/fpu/e_sqrtf128.c: New file.
>
> Why is this file x86-specific? I find that rather odd.
There's no generic ldbl-128 sqrtl implementation in glibc - each ldbl-128
architecture has its own - meaning the usual approach of #including an
ldbl-128 implementation with appropriate #defines doesn't apply. The
powerpc64le implementation of sqrtf128 is not applicable here because it
has its own special-case defines to use KFmode instead of TFmode.
--
Joseph S. Myers
joseph@codesourcery.com