gcc/
* config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct
the comment.
* config/aarch64/aarch64.md * (tlsle_small_<mode>): Add left shift
12-bit for higher part.
From-SVN: r220116
+2015-01-26 Renlin Li <renlin.li@arm.com>
+
+ * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct
+ the comment.
+ * config/aarch64/aarch64.md (tlsle_small_<mode>): Add left shift 12-bit
+ for higher part.
+
2015-01-26 Richard Biener <rguenther@suse.de>
PR middle-end/64764
Local Exec:
mrs tp, tpidr_el0
- add t0, tp, #:tprel_hi12:imm
- add t0, #:tprel_lo12_nc:imm
+ add t0, tp, #:tprel_hi12:imm, lsl #12
+ add t0, t0, #:tprel_lo12_nc:imm
*/
static void
(match_operand 2 "aarch64_tls_le_symref" "S")]
UNSPEC_GOTSMALLTLS))]
""
- "add\\t%<w>0, %<w>1, #%G2\;add\\t%<w>0, %<w>0, #%L2"
+ "add\\t%<w>0, %<w>1, #%G2, lsl #12\;add\\t%<w>0, %<w>0, #%L2"
[(set_attr "type" "alu_sreg")
(set_attr "length" "8")]
)