This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Enable -mcpu=power6 for PowerPC
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, steinmtz at us dot ibm dot com
- Date: Wed, 31 May 2006 19:32:34 -0400
- Subject: Re: [PATCH] Enable -mcpu=power6 for PowerPC
- References: <200605312159.k4VLxMpI006997@earth.phy.uc.edu>
>>>>> Andrew Pinski writes:
> Semi unrelated to this but doesn't the Power4 and Power5/5+ both
> have MASK_PPC_GPOPT?
>
> Also I would hope that the Power6 have MASK_PPC_GPOPT (sqrt) also.
As has been discussed many times, PowerPC hardware sqrt does not
always improve performance. Library implementations (on platforms other
than Darwin) seem to do quite well, so GPOPT is not always enabled.
Maybe you should take your own advice and look at the mailinglist
archives before asking :-).
David