[PATCH 01/17] S390: Use load-fp-integer instruction for nearbyint functions.
Joseph Myers
joseph@codesourcery.com
Tue Nov 5 16:48:00 GMT 2019
On Tue, 5 Nov 2019, Stefan Liebler wrote:
> I will create an own header file, e.g. sysdeps/generic/math-use-builtins.h in
> the same way as fix-fp-int-compare-invalid.h.
> The generic version contains all USE_XYZ_BUILTIN macros defined to 0
> and each architecture can provide its own file with other settings.
> For each functions XYZ there will be three macros, e.g. USE_NEARBYINT_BUILTIN,
> USE_NEARBYINTF_BUILTIN, USE_NEARBYINTL_BUILTIN.
You'll need macro variants for _Float128 as well, with corresponding
#undef / #define of the long double variants and of the built-in names in
float128_private.h (see what it does for FIX_LDBL_LONG_CONVERT_OVERFLOW
and FIX_LDBL_LLONG_CONVERT_OVERFLOW) - POWER9 supports doing various such
_Float128 operations as built-in functions.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list