This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Rework powerpc reciprocal estimation instruction generation


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.

Thanks, David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]