On Wed, Aug 31, 2016 at 09:15:32PM -0500, Bill Schmidt wrote:
> This patch (suggested by Michael Meissner) instead prevents the problem
> by disallowing reg+reg addressing for TImode, allowing D-form addressing
> to be used for the separate stores of the GPRs.  This is not an ideal
> permanent solution, because it disallows reg+reg addressing not only for
> TImode in GPRs, but also for TImode in VSRs.  Our intent is to work on a
> solution to provide a scratch register via secondary reload, but this
> may take some time.  Thus I'd like to submit this patch as a short-term
> solution for the bootstrap problem until then.
> 
> I plan to do a performance evaluation of this patch for informational
> purposes, but I don't expect much change, and the results won't affect
> our choice to handle this properly in secondary reload.
> 
> Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no
> regressions, and the gnattools now build properly so that the ada
> bootstrap succeeds.  Is this ok for trunk?

Yes please.  Thanks,


Segher

Reply via email to