Add a couple more quick comments.
authorEric Christopher <echristo@apple.com>
Thu, 24 Jun 2010 02:07:57 +0000 (02:07 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 24 Jun 2010 02:07:57 +0000 (02:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106717 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td

index e50acd02745b82dc3a659fa5f374a23bbd09c7c1..5ca8555a0f6c55a89ab32b38223f73ff0a8c7f88 100644 (file)
@@ -1687,6 +1687,7 @@ def MOV64ri64i32 : Ii32<0xB8, AddRegFrm, (outs GR64:$dst), (ins i64i32imm:$src),
 // Thread Local Storage Instructions
 //===----------------------------------------------------------------------===//
 
+// ELF TLS Support
 // All calls clobber the non-callee saved registers. RSP is marked as
 // a use to prevent stack-pointer assignments that appear immediately
 // before calls from potentially appearing dead.
@@ -1705,6 +1706,7 @@ def TLS_addr64 : I<0, Pseudo, (outs), (ins lea64mem:$sym),
                   [(X86tlsaddr tls64addr:$sym)]>,
                   Requires<[In64BitMode]>;
 
+// Darwin TLS Support
 // For x86_64, the address of the thunk is passed in %rdi, on return 
 // the address of the variable is in %rax.  All other registers are preserved.
 let Defs = [RAX],
index f5c5cdd6f5960566da0d06bf10a2a8d5c63d9464..b3ba4b655dc1f2ff015ca44a2bc176a4f4eeb8e3 100644 (file)
@@ -3848,6 +3848,7 @@ def MOV32r0  : I<0x31, MRMInitReg, (outs GR32:$dst), (ins), "",
 // Thread Local Storage Instructions
 //
 
+// ELF TLS Support
 // All calls clobber the non-callee saved registers. ESP is marked as
 // a use to prevent stack-pointer assignments that appear immediately
 // before calls from potentially appearing dead.
@@ -3862,6 +3863,7 @@ def TLS_addr32 : I<0, Pseudo, (outs), (ins lea32mem:$sym),
                   [(X86tlsaddr tls32addr:$sym)]>,
                   Requires<[In32BitMode]>;
 
+// Darwin TLS Support
 // For i386, the address of the thunk is passed on the stack, on return the 
 // address of the variable is in %eax.  %ecx is trashed during the function 
 // call.  All other registers are preserved.