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] |
David tells me that the patch to enable float128 built-in functions to work with the -mabi=ieeelongdouble option broke AIX because on AIX, the float128 insns are disabled, and they all become CODE_FOR_nothing. The switch statement that was added in rs6000.c to map KFmode built-in functions to TFmode breaks under AIX. I changed the code to have a separate table, and the first call, I build the table. If the insn was not generated, it will just be CODE_FOR_nothing, and the KF->TF mode conversion will not be done. I have tested this on a little endian power8 system and there were no regressions. Once David verifies that it builds on AIX, can I check this into the trunk? 2017-11-15 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_expand_builtin): Do not use a switch to map KFmode built-in functions to TFmode. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797
Attachment:
ieee128-patch57b
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |