summaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2012-10-12 12:47:53 +0000
committerChung-Lin Tang <cltang@gcc.gnu.org>2012-10-12 12:47:53 +0000
commit7e4dd63d9d4143d27dfa7692039b4f48854c1d99 (patch)
tree394e6187c79e66549d107d28cf4e75ae87fcf1ed /gcc/config/arm
parent0889c5c3faa0eb0915f6b5e5092060888a9efec6 (diff)
downloadgcc-7e4dd63d9d4143d27dfa7692039b4f48854c1d99.tar.gz
arm.md (get_thread_pointersi): Moved to place with other TLS related patterns.
2012-10-12 Chung-Lin Tang <cltang@codesourcery.com> * config/arm/arm.md (get_thread_pointersi): Moved to place with other TLS related patterns. From-SVN: r192399
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/arm.md19
1 files changed, 10 insertions, 9 deletions
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")