On 26/09/12 09:59, Chung-Lin Tang wrote:
On 2012/9/16 05:15 PM, Richard Sandiford wrote:
Second ping for the ARM part of Chung-Lin's __builtin_thread_pointer patch:

     http://gcc.gnu.org/ml/gcc-patches/2012-08/msg01914.html

I think this is the only part that hasn't been approved.

Thanks,
Richard


Ping again.

(and thanks to Richard S. for doing the last one :)

Thanks,
Chung-Lin




OK except:

Index: config/arm/arm.md
===================================================================
--- config/arm/arm.md   (revision 190742)
+++ config/arm/arm.md   (working copy)
@@ -11473,6 +11473,15 @@
   "
 )

+(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")

Please put this pattern with the other TLS related patterns in the MD file. Search for ";; TLS Support".

R.


Reply via email to