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

2018-10-31 Thread Rajalakshmi Srinivasaraghavan
On 10/25/2018 09:40 PM, Joseph Myers wrote: On Thu, 25 Oct 2018, Rajalakshmi Srinivasaraghavan wrote: + if (__builtin_unpack_longdouble (a, 0) < TWO53) +{ + /* In this case the integer portion is completely contained + within the high double. So use the hardware conv

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

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

2018-10-25 Thread Rajalakshmi Srinivasaraghavan
int bit field structure. - Understanding the quirks of IBM long double and decompose the code in to a set of optimized sub cases. Tested on powerpc64le. libgcc ChangeLog: 2018-10-25 Steven Munroe Rajalakshmi Srinivasaraghavan * config/rs6000/t-ppc64-fp (LIB2ADD): Add

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

2018-10-23 Thread Rajalakshmi Srinivasaraghavan
int bit field structure. - Understanding the quirks of IBM long double and decompose the code in to a set of optimized sub cases. Tested on powerpc64le. 2018-10-20 Steven Munroe Rajalakshmi Srinivasaraghavan * libgcc/config/rs6000/t-ppc64-fp (LIB2ADD): Add