mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
[X86] Use correct opsize on indirect call and jump aliases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224497 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4ae31b7e7d
commit
539998ec8d
@ -2718,10 +2718,10 @@ def : InstAlias<"ljmp $seg, $off", (FARJMP16i i16imm:$off, i16imm:$seg), 0>, R
|
||||
def : InstAlias<"lcall *$dst", (FARCALL16m opaque32mem:$dst), 0>, Requires<[In16BitMode]>;
|
||||
def : InstAlias<"ljmp *$dst", (FARJMP16m opaque32mem:$dst), 0>, Requires<[In16BitMode]>;
|
||||
|
||||
def : InstAlias<"call *$dst", (CALL64m i16mem:$dst), 0>, Requires<[In64BitMode]>;
|
||||
def : InstAlias<"jmp *$dst", (JMP64m i16mem:$dst), 0>, Requires<[In64BitMode]>;
|
||||
def : InstAlias<"call *$dst", (CALL32m i16mem:$dst), 0>, Requires<[In32BitMode]>;
|
||||
def : InstAlias<"jmp *$dst", (JMP32m i16mem:$dst), 0>, Requires<[In32BitMode]>;
|
||||
def : InstAlias<"call *$dst", (CALL64m i64mem:$dst), 0>, Requires<[In64BitMode]>;
|
||||
def : InstAlias<"jmp *$dst", (JMP64m i64mem:$dst), 0>, Requires<[In64BitMode]>;
|
||||
def : InstAlias<"call *$dst", (CALL32m i32mem:$dst), 0>, Requires<[In32BitMode]>;
|
||||
def : InstAlias<"jmp *$dst", (JMP32m i32mem:$dst), 0>, Requires<[In32BitMode]>;
|
||||
def : InstAlias<"call *$dst", (CALL16m i16mem:$dst), 0>, Requires<[In16BitMode]>;
|
||||
def : InstAlias<"jmp *$dst", (JMP16m i16mem:$dst), 0>, Requires<[In16BitMode]>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user