This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 01/17] S390: Use load-fp-integer instruction for nearbyint functions.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Stefan Liebler <stli at linux dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 5 Nov 2019 16:48:37 +0000
- Subject: Re: [PATCH 01/17] S390: Use load-fp-integer instruction for nearbyint functions.
- Ironport-sdr: 4kRjQSWZgMy03GT5uEdOlQ1oj6FdiJ1VdZ5asADV2a44XRMrM25fh2P6SEdRYWSuTcV24EOQam C3X+RzpuKlAxLf3eauXEh8jPz8571EU25bnNbL1SjYgS1TtQ92Q6g8z7PdrOPLtwWO4mfWf722 ntc+aiq1XVhnTEElQ71MG/hyLxZ+Jktpg+bimDH8rYMPuOaKUEaIhowv1kp4mlcGy3C/NeHSJS u2/XshcULX+c8b664ctpKZM/BdpSuGTzC7chIa80bt1YIh/15EKNvkrL4B/BT4DBWL+78WmZi3 iew=
- Ironport-sdr: XxXM3g0xBxQUXooTsoKnyehgmokkyNN8l3i0ygvG4IoghuipdfRLgPcN51NmcN7znwy0eI47jH yA9Mi7J5mzZkCDY9UcLzeAryVW5gmTgkBd/1ZAwivTAYtbKJ0S7mFqnmfLu6mtOXObShdfjVBb ppPBl1i2HuegbvaPU570f04aAZ0T67BwTBLSX/eWOqP2DYGHsgrijwv/twcvKB6HVRPWJjDGnj gdeYqTb59sTYra72CxAFpnkojyIThj1TMzzJuUh4tMGwmphaIQo5osjEUms12HCnePIp/BifVl mWM=
- References: <1572881244-6781-1-git-send-email-stli@linux.ibm.com> <fc754475-f2cd-cb07-c527-1ccc567a4868@linaro.org> <ee15f9ef-bb5c-293d-fd91-94f6a0ad549c@linux.ibm.com>
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