Changes in directory llvm/lib/Target:

TargetAsmInfo.cpp updated: 1.21 -> 1.22
TargetSelectionDAG.td updated: 1.78 -> 1.79
---
Log message:

Implement "general dynamic", "initial exec" and "local exec" TLS models for
X86 32 bits.


---
Diffs of the changes:  (+6 -0)

 TargetAsmInfo.cpp     |    2 ++
 TargetSelectionDAG.td |    4 ++++
 2 files changed, 6 insertions(+)


Index: llvm/lib/Target/TargetAsmInfo.cpp
diff -u llvm/lib/Target/TargetAsmInfo.cpp:1.21 
llvm/lib/Target/TargetAsmInfo.cpp:1.22
--- llvm/lib/Target/TargetAsmInfo.cpp:1.21      Wed Mar  7 19:00:38 2007
+++ llvm/lib/Target/TargetAsmInfo.cpp   Fri Apr 20 16:38:10 2007
@@ -20,6 +20,8 @@
   TextSection(".text"),
   DataSection(".data"),
   BSSSection(".bss"),
+  TLSDataSection("\t.section .tdata,\"awT\",@progbits"),
+  TLSBSSSection("\t.section .tbss,\"awT\",@nobits"),
   ZeroFillDirective(0),
   AddressSize(4),
   NeedsSet(false),


Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.78 
llvm/lib/Target/TargetSelectionDAG.td:1.79
--- llvm/lib/Target/TargetSelectionDAG.td:1.78  Fri Jan 26 08:34:51 2007
+++ llvm/lib/Target/TargetSelectionDAG.td       Fri Apr 20 16:38:10 2007
@@ -211,6 +211,10 @@
                         "GlobalAddressSDNode">;
 def tglobaladdr : SDNode<"ISD::TargetGlobalAddress",  SDTPtrLeaf, [],
                          "GlobalAddressSDNode">;
+def globaltlsaddr : SDNode<"ISD::GlobalTLSAddress",         SDTPtrLeaf, [],
+                          "GlobalAddressSDNode">;
+def tglobaltlsaddr : SDNode<"ISD::TargetGlobalTLSAddress",  SDTPtrLeaf, [],
+                           "GlobalAddressSDNode">;
 def constpool   : SDNode<"ISD::ConstantPool",         SDTPtrLeaf, [],
                          "ConstantPoolSDNode">;
 def tconstpool  : SDNode<"ISD::TargetConstantPool",   SDTPtrLeaf, [],



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to