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], PR target/79947, Fix compiler segmentation fault with -Ofast -mno-powerpc-gfxopt


Hi Mike,

On Tue, Mar 14, 2017 at 05:01:53PM -0400, Michael Meissner wrote:
> In PR target/79947, the code for using the float reciprocal square root
> estimate instruction did not check if the -mpowerpc-gfxopt option was enabled.
> The code needs this option to generate a conditional floating point move.
> 
> I have checked this patch on the trunk, and it fixes the problem and it does
> not cause any regressions.  Is it ok to apply to the trunk?  Assuming there are
> no additional problems, can I apply the patch to the GCC 5 and 6 branches as
> well?

All CPUs that have the reciprocal estimate insns also have the gfxopt
insns (and this will not change), so this is okay (also for the branches).
Thanks!


Segher


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