On Wed, 31 Oct 2018, Rajalakshmi Srinivasaraghavan wrote:
> 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 compl
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 convert to
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 convert to
> + integer doubleword, and then
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