This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
In addition to the previous patch to aid in transitioning the PowerPC long double format to IEEE 128-bit, I have some additional patches that are needed. The previous patch is: https://gcc.gnu.org/ml/gcc-patches/2018-06/msg00634.html This fixes some of the PowerPC tests that had implicit assumptions about the long double format. The fixes involved: 1) Using long double __complex instead of using a KC attribute; 2) Explicitly adding -mabi=ibmlongdouble; (or) 3) Using __ibm128 instead of long double if long double is IEEE 128-bit. I have done separate bootstraps on a little endian power8 system with the long double type set to IBM extended and IEEE 128-bit extended. There were no regressions in using this patch, and it fixes several of the errors when you use a compiler with long double defaulting to IEEE 128-bit floating point. Can I check it in, and eventually back port it to GCC 8.2 with the other long double transition patches. 2018-06-13 Michael Meissner <meissner@linux.ibm.com> * gcc.target/powerpc/divkc3-1.c: If long double is IEEE 128-bit, use __complex long double instead of KC attribute. * gcc.target/powerpc/mulkc3-1.c: Likewise. * gcc.target/powerpc/float128-3.c: Add -mabi=ibmlongdouble to tests that require long double to be IBM extended double. * gcc.target/powerpc/float128-5.c: Likewise. * gcc.target/powerpc/float128-mix.c: Likewise. * gcc.target/powerpc/pack02.c: On systems where long double is IEEE 128-bit, use __ibm128 instead of long double. Use the ibm128 pack/unpack functions instead of the long double pack/unpack functions. * gcc.target/powerpc/pr57150.c: Likewise. * gcc.target/powerpc/pr60203.c: Likewise. * gcc.target/powerpc/pr67808.c: Likewise. * gcc.target/powerpc/pr70117.c: Likewise. * gcc.target/powerpc/tfmode_off.c: Likewise. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.ibm.com, phone: +1 (978) 899-4797
Attachment:
ieee128-patch109b
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |