On Mon, Jan 21, 2019 at 08:22:58AM -0600, Segher Boessenkool wrote:
> On Mon, Jan 21, 2019 at 10:48:57PM +1030, Alan Modra wrote:
> > Here's what the revised approach looks like, but without using new
> > unspecs.  Bootstrap and regression test on powerpc64le-linux and
> > powerpc64-linux biarch completed, and testing on powerpc64le-linux
> > with -mno-tls-markers.  powerpc64-linux -mno-tls-markers testing still
> > in progress.  OK?
> 
> This is easier to grok, thanks.

Yes, and not having to edit __tls_get_addr call patterns is good too.

> I think this would be nicer if you still used insn alternatives here.
> What is needed for that?

A new symbol constraint especially for __tls_get_addr?  Actually two
new constraints for ppc64, one for small model, the other for
medium/large!  No way.

> The patch is okay for trunk (if it survives on at least all three linux
> targets).  Thanks!

Happily it did, even with -mno-tls-markers.

-- 
Alan Modra
Australia Development Lab, IBM

Reply via email to