This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Delegitimize TLS local-exec accesses on i?86/x86_64 (PR target/45870)
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 10 Oct 2010 09:39:01 +0200
- Subject: Re: [PATCH] Delegitimize TLS local-exec accesses on i?86/x86_64 (PR target/45870)
- References: <20101008193141.GP4127@tyan-ft48-01.lab.bos.redhat.com>
On Fri, 2010-10-08 at 21:31 +0200, Jakub Jelinek wrote:
> This patch delegitimizes TLS local-exec mode accesses, if
> both UNSPEC_TP and UNSPEC_NTPOFF is present in the address.
> On the attached testcase it gets rid of the --enable-checking=yes
> notes about non-delegitimized UNSPECs in debug info output.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2010-10-08 Jakub Jelinek <jakub@redhat.com>
>
> PR target/45870
> * config/i386/i386.c (ix86_delegitimize_tls_address): New function.
> (ix86_delegitimize_address): Use it.
>
> * gcc.dg/tls/pr45870.c: New test.
This is OK for mainline.
Thanks,
Uros.