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] Delegitimize TLS local-exec accesses on i?86/x86_64 (PR target/45870)


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.


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