On Thu, Oct 29, 2015 at 10:33:48AM -0400, David Edelsohn wrote: > On Fri, Oct 23, 2015 at 1:40 PM, Michael Meissner > <meiss...@linux.vnet.ibm.com> wrote: > > This patch sets up all of the emulation functions. > > > > I have built the compiler with this patch and the previous subpatches > > (1-4). I > > have bootstrapped the compiler with all 16 subpatches installed, and there > > were > > no regressions. Is it ok to install in the trunk? > > > > 2015-10-22 Michael Meissner <meiss...@linux.vnet.ibm.com> > > > > * config/rs6000/rs6000.c (rs6000_init_libfuncs): Split libfunc > > setup into 3 functions: init_float128_ibm, init_float128_ieee, and > > rs6000_init_libfuncs. If -mfloat128, add IFmode functions for all > > of the traditional names that TFmode uses for handling IEEE > > extended double. If -mfloat128, add KFmode functions for all of > > the emulation functions. If -mabi=ieeelongdouble and -mfloat128, > > make TFmode use the same emulation functions as KFmode. > > (init_float128_ibm): Likewise. > > (init_float128_ieee): Likewise. > > This seems to change the logic for initializing Darwin and AIX > libfuncs. It may not be wrong, but I am a little concerned. I > believe that they were defined unconditionally before and now they > only are defined if TARGET_LONG_DOUBLE_128. > > Am I misunderstanding something?
No really, I just assumed if -mlong-double-64 you wouldn't be using TFmode. I can remove the test if you prefer. BTW, Darwin has 128-bit long double (using IBM extended double). -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meiss...@linux.vnet.ibm.com, phone: +1 (978) 899-4797