Re: [PATCH][AARCH64]Fix TLS local exec model addressing code generation inconsistency.

2015-01-26 Thread Marcus Shawcroft
On 20 January 2015 at 14:57, Renlin Li wrote: > gcc/ChangeLog: > > 2015-01-20 Renlin Li > > * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct > the comment. > * config/aarch64/aarch64.md (tlsle_small_): Add left shift 12-bit > for higher part. OK /Marcus

[PATCH][AARCH64]Fix TLS local exec model addressing code generation inconsistency.

2015-01-20 Thread Renlin Li
Hi all, The following code sequence should be generated for TLS local exec model in aarch64 backend. add t0, tp, #:tprel_hi12:x1, lsl #12 add t0, #:tprel_lo12_nc:x1 However, we have the following codegen using -S option. add t0, tp, #:tprel_hi12:x1 < (1) add t0, #:tprel_lo12_nc:x1