Re: [PATCH] powerpc: Optimized conversion of IBM long double to int128/int64

2018-10-25 Thread Rajalakshmi Srinivasaraghavan
On 10/23/2018 10:07 PM, Segher Boessenkool wrote: On Tue, Oct 23, 2018 at 09:01:26PM +0530, Rajalakshmi Srinivasaraghavan wrote: This new implementation of fixunstfdi and fixunstfti gives 16X performance improvement. :-) * libgcc/config/rs6000/t-ppc64-fp (LIB2ADD): Add $(s

Re: [PATCH] powerpc: Optimized conversion of IBM long double to int128/int64

2018-10-23 Thread Segher Boessenkool
On Tue, Oct 23, 2018 at 09:01:26PM +0530, Rajalakshmi Srinivasaraghavan wrote: > This new implementation of fixunstfdi and fixunstfti > gives 16X performance improvement. :-) > * libgcc/config/rs6000/t-ppc64-fp (LIB2ADD): Add > $(srcdir)/config/rs6000/fixunstfti.c. And fixunstfdi.c?

[PATCH] powerpc: Optimized conversion of IBM long double to int128/int64

2018-10-23 Thread Rajalakshmi Srinivasaraghavan
This new implementation of fixunstfdi and fixunstfti gives 16X performance improvement. The design is focused on: - Making sure the end result was a pure leaf function that only needed builtins or inline functions. - Assumed power8 direct register transfer and accessed the IBM long double as in