mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[X86] Mark some more InstAliases as 'att' syntax only.
These aliases are used to default the memory forms of call and jmp to the size of the operating mode. This doesn't work for Intel syntax. We have a different hack in the AsmParser code itself to force a size on unsized memory operands. llvm-svn: 331153
This commit is contained in:
parent
134a1f73e7
commit
3bf478957f
@ -3167,12 +3167,12 @@ def : InstAlias<"ljmp\t$seg, $off", (FARJMP16i i16imm:$off, i16imm:$seg), 0>,
|
||||
def : InstAlias<"lcall\t{*}$dst", (FARCALL16m opaque32mem:$dst), 0>, Requires<[In16BitMode]>;
|
||||
def : InstAlias<"ljmp\t{*}$dst", (FARJMP16m opaque32mem:$dst), 0>, Requires<[In16BitMode]>;
|
||||
|
||||
def : InstAlias<"call\t{*}$dst", (CALL64m i64mem:$dst), 0>, Requires<[In64BitMode]>;
|
||||
def : InstAlias<"jmp\t{*}$dst", (JMP64m i64mem:$dst), 0>, Requires<[In64BitMode]>;
|
||||
def : InstAlias<"call\t{*}$dst", (CALL32m i32mem:$dst), 0>, Requires<[In32BitMode]>;
|
||||
def : InstAlias<"jmp\t{*}$dst", (JMP32m i32mem:$dst), 0>, Requires<[In32BitMode]>;
|
||||
def : InstAlias<"call\t{*}$dst", (CALL16m i16mem:$dst), 0>, Requires<[In16BitMode]>;
|
||||
def : InstAlias<"jmp\t{*}$dst", (JMP16m i16mem:$dst), 0>, Requires<[In16BitMode]>;
|
||||
def : InstAlias<"call\t{*}$dst", (CALL64m i64mem:$dst), 0, "att">, Requires<[In64BitMode]>;
|
||||
def : InstAlias<"jmp\t{*}$dst", (JMP64m i64mem:$dst), 0, "att">, Requires<[In64BitMode]>;
|
||||
def : InstAlias<"call\t{*}$dst", (CALL32m i32mem:$dst), 0, "att">, Requires<[In32BitMode]>;
|
||||
def : InstAlias<"jmp\t{*}$dst", (JMP32m i32mem:$dst), 0, "att">, Requires<[In32BitMode]>;
|
||||
def : InstAlias<"call\t{*}$dst", (CALL16m i16mem:$dst), 0, "att">, Requires<[In16BitMode]>;
|
||||
def : InstAlias<"jmp\t{*}$dst", (JMP16m i16mem:$dst), 0, "att">, Requires<[In16BitMode]>;
|
||||
|
||||
|
||||
// "imul <imm>, B" is an alias for "imul <imm>, B, B".
|
||||
|
Loading…
Reference in New Issue
Block a user