mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Update according to feedback.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106677 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1711,7 +1711,7 @@ let Defs = [RAX],
|
|||||||
Uses = [RDI],
|
Uses = [RDI],
|
||||||
usesCustomInserter = 1 in
|
usesCustomInserter = 1 in
|
||||||
def TLSCall_64 : I<0, Pseudo, (outs), (ins i64mem:$sym),
|
def TLSCall_64 : I<0, Pseudo, (outs), (ins i64mem:$sym),
|
||||||
"# Fixme into a call",
|
"# TLSCall_64",
|
||||||
[(X86TLSCall addr:$sym)]>,
|
[(X86TLSCall addr:$sym)]>,
|
||||||
Requires<[In64BitMode]>;
|
Requires<[In64BitMode]>;
|
||||||
|
|
||||||
|
@@ -3864,12 +3864,12 @@ def TLS_addr32 : I<0, Pseudo, (outs), (ins lea32mem:$sym),
|
|||||||
|
|
||||||
// For i386, the address of the thunk is passed on the stack, on return the
|
// 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
|
// address of the variable is in %eax. %ecx is trashed during the function
|
||||||
// call. %edx is preserved.
|
// call. All other registers are preserved.
|
||||||
let Defs = [EAX],
|
let Defs = [EAX, ECX],
|
||||||
Uses = [ESP, ECX],
|
Uses = [ESP],
|
||||||
usesCustomInserter = 1 in
|
usesCustomInserter = 1 in
|
||||||
def TLSCall_32 : I<0, Pseudo, (outs), (ins i32mem:$sym),
|
def TLSCall_32 : I<0, Pseudo, (outs), (ins i32mem:$sym),
|
||||||
"# Fixme into a call",
|
"# TLSCall_32",
|
||||||
[(X86TLSCall addr:$sym)]>,
|
[(X86TLSCall addr:$sym)]>,
|
||||||
Requires<[In32BitMode]>;
|
Requires<[In32BitMode]>;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user