]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.md (get_thread_pointersi): Moved to place with other TLS related patterns.
authorChung-Lin Tang <cltang@codesourcery.com>
Fri, 12 Oct 2012 12:47:53 +0000 (12:47 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Fri, 12 Oct 2012 12:47:53 +0000 (12:47 +0000)
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

gcc/ChangeLog
gcc/config/arm/arm.md

index 2084d916fb490ecaac1efeb2dc280ee77f1fe273..10e725cf5dc91168e2deb65fa8a40431e4059ad0 100644 (file)
@@ -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 ...
index 201cbdac44c6097693c4c843af5852457825375e..b45fea0212056404023864d7633c66473060e50d 100644 (file)
    (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 
 ""
 )
 
-(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")