[PATCH v3 7/7] powerpc64le: Enable float128

Florian Weimer fweimer@redhat.com
Tue Jun 27 18:42:00 GMT 2017


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?

Thanks,
Florian



More information about the Libc-alpha mailing list