Re: [PATCH v2] Inline IBM long double __gcc_qsub

2021-08-26 Thread David Edelsohn via Gcc-patches
On Thu, Aug 26, 2021 at 6:53 PM Segher Boessenkool wrote: > > Hi! > > On Thu, Aug 26, 2021 at 02:57:35PM -0400, David Edelsohn wrote: > > * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename > > from > > __gcc_qadd. > > (__gcc_qadd): Call ldouble_qadd_

Re: [PATCH v2] Inline IBM long double __gcc_qsub

2021-08-26 Thread Segher Boessenkool
Hi! On Thu, Aug 26, 2021 at 02:57:35PM -0400, David Edelsohn wrote: > * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from > __gcc_qadd. > (__gcc_qadd): Call ldouble_qadd_internal. > (__gcc_qsub): Call ldouble_qadd_internal with second

[PATCH v2] Inline IBM long double __gcc_qsub

2021-08-26 Thread David Edelsohn via Gcc-patches
While performing some tests of IEEE 128 float for PPC64LE, Michael Meissner noticed that __gcc_qsub is substantially slower than __gcc_qadd. __gcc_qsub calls __gcc_add with the second operand negated. Because the functions normally are invoked through libgcc shared object, the