mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
move sal aliases to .td file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a1ecc9f3c
commit
a17a9a00dc
@ -624,11 +624,6 @@ ParseInstruction(StringRef Name, SMLoc NameLoc,
|
||||
// represent alternative syntaxes in the .td file, without requiring
|
||||
// instruction duplication.
|
||||
StringRef PatchedName = StringSwitch<StringRef>(Name)
|
||||
.Case("sal", "shl")
|
||||
.Case("salb", "shlb")
|
||||
.Case("sall", "shll")
|
||||
.Case("salq", "shlq")
|
||||
.Case("salw", "shlw")
|
||||
.Case("repe", "rep")
|
||||
.Case("repz", "rep")
|
||||
.Case("repnz", "repne")
|
||||
|
@ -1269,6 +1269,11 @@ def : MnemonicAlias<"cdqe", "cltq">;
|
||||
def : MnemonicAlias<"pushfd", "pushfl">;
|
||||
def : MnemonicAlias<"popfd", "popfl">;
|
||||
|
||||
def : MnemonicAlias<"salb", "shlb">;
|
||||
def : MnemonicAlias<"salw", "shlw">;
|
||||
def : MnemonicAlias<"sall", "shll">;
|
||||
def : MnemonicAlias<"salq", "shlq">;
|
||||
|
||||
def : MnemonicAlias<"smovb", "movsb">;
|
||||
def : MnemonicAlias<"smovw", "movsw">;
|
||||
def : MnemonicAlias<"smovl", "movsl">;
|
||||
|
Loading…
Reference in New Issue
Block a user