summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.md19
2 files changed, 15 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2084d916fb4..10e725cf5dc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-12 Chung-Lin Tang <cltang@codesourcery.com>
+
+ * config/arm/arm.md (get_thread_pointersi): Moved to place with
+ other TLS related patterns.
+
2012-10-12 Richard Biener <rguenther@suse.de>
* tree-streamer-out.c (pack_ts_target_option): Rename from ...
diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md
index 201cbdac44c..b45fea02120 100644
--- a/gcc/config/arm/arm.md
+++ b/gcc/config/arm/arm.md
@@ -11355,6 +11355,16 @@
(set_attr "length" "4")]
)
+;; For thread pointer builtin
+(define_expand "get_thread_pointersi"
+ [(match_operand:SI 0 "s_register_operand" "=r")]
+ ""
+ "
+ {
+ arm_load_tp (operands[0]);
+ DONE;
+ }")
+
;;
;; We only care about the lower 16 bits of the constant
@@ -11501,15 +11511,6 @@
""
)
-(define_expand "get_thread_pointersi"
- [(match_operand:SI 0 "s_register_operand" "=r")]
- ""
- "
- {
- arm_load_tp (operands[0]);
- DONE;
- }")
-
;; Load the load/store multiple patterns
(include "ldmstm.md")