[PATCH] Rework powerpc reciprocal estimation instruction generation

Michael Meissner meissner@linux.vnet.ibm.com
Thu Jun 3 00:13:00 GMT 2010


On Wed, Jun 02, 2010 at 06:08:21PM -0400, David Edelsohn wrote:
> On Tue, Jun 1, 2010 at 7:21 PM, Michael Meissner
> <meissner@linux.vnet.ibm.com> wrote:
> > This patch improves the generation of reciprocal approximation instructions in
> > the PowerPC.  The following optimizations are done:
> >
> >        float / float           -> replace FDIVS with FRES + fixup
> >        1.0f / sqrtf(float)     -> replace FSQRTS/FDIVS with FRSQRTES + fixup
> >        double / double         -> replace FDIV with FRE + fixup
> >        1.0 / sqrt(double)      -> replace FSQRT/FDIV with FRSQRTE + fixup
> 
> > Are these patches ok to install?
> 
> Okay.

The patches were checked in.

-- 
Michael Meissner, IBM
Until June 30: 4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
After June 30: 5 Technology Place Drive, MS 2757, Westford, MA 01886, USA
meissner@linux.vnet.ibm.com



More information about the Gcc-patches mailing list