PowerPC TLS scheduling

David Edelsohn dje.gcc@gmail.com
Tue Mar 31 06:04:00 GMT 2009


On Mon, Mar 30, 2009 at 8:19 AM, Alan Modra <amodra@bigpond.net.au> wrote:
> This patch allows gcc to split __tls_get_addr sequences now that the
> hole in the PowerPC TLS ABIs has been fixed by
> http://sourceware.org/ml/binutils/2009-02/msg00274.html
>
> Bootstrapped and regression tested powerpc and powerpc64-linux.
> OK for mainline?
>
>        * configure.ac (HAVE_AS_TLS_MARKERS): New gas feature check.
>        * configure: Regenerate.
>        * config.in: Regenerate.
>        * config/rs6000/rs6000.opt (mtls-markers): Add.
>        * config/rs6000/rs6000.h (TARGET_TLS_MARKERS): Define.
>        * config/rs6000/rs6000.md (tls_gd_aix, tls_gd_sysv): Add splitter.
>        (tls_ld_aix, tls_ld_sysv): Likewise.
>        (tls_gd, tls_gd_call_aix, tls_gd_call_sysv): New insns.
>        (tls_ld, tls_ld_call_aix, tls_ld_call_sysv): Likewise.

Okay,

Thanks, David



More information about the Gcc-patches mailing list