From b1162fc05e09c7247be1896fd4aa4ca7e76c938c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Sep 2010 07:21:41 +0000 Subject: add a couple more aliases, rdar://8456378 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114821 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/AsmParser/X86AsmParser.cpp | 2 ++ test/MC/AsmParser/X86/x86_instructions.s | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp index 8252ea9..da37665 100644 --- a/lib/Target/X86/AsmParser/X86AsmParser.cpp +++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp @@ -634,6 +634,8 @@ ParseInstruction(StringRef Name, SMLoc NameLoc, .Case("repnz", "repne") .Case("iret", "iretl") .Case("sysret", "sysretl") + .Case("cwde", "cwtl") + .Case("cdqe", "cltq") .Case("smovb", "movsb") .Case("smovw", "movsw") .Case("smovl", "movsl") diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s index d16dc9d..cb6811a 100644 --- a/test/MC/AsmParser/X86/x86_instructions.s +++ b/test/MC/AsmParser/X86/x86_instructions.s @@ -397,4 +397,9 @@ clr %di clr %esi clr %rsi +// rdar://8456378 +cltq // CHECK: cltq +cdqe // CHECK: cltq +cwde // CHECK: cwtl +cwtl // CHECK: cwtl -- cgit v1.1