mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Add a couple more quick comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106717 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e0163ac1e
commit
37106afe02
@ -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],
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user