This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH v3 7/7] powerpc64le: Enable float128
On 06/27/2017 05:00 PM, Peter Bergner wrote:
> We have a __builtin_cpu_supports() version that can test for float128, so
> why can't we use the following? On older systems (ie, older glibcs),
> the builtin will expand to false, which is conservatively correct.
> +#define SW_OR_HW(SW, HW) (__builtin_cpu_supports ("ieee128") ? HW : SW)
How is that implemented? Does it call into the kernel or glibc, too?