aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/AsmParser/X86AsmParser.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-27 07:11:53 +0000
committerChris Lattner <sabre@nondot.org>2010-09-27 07:11:53 +0000
commitdf967d613704d4e4f01ecce85c1846dfab4d9a1b (patch)
tree2f907a474edffc51ad6831be140ca9ddc36df252 /lib/Target/X86/AsmParser/X86AsmParser.cpp
parentcb296ec0b689ccbcb08cedc5d3e090c0471eb393 (diff)
downloadexternal_llvm-df967d613704d4e4f01ecce85c1846dfab4d9a1b.zip
external_llvm-df967d613704d4e4f01ecce85c1846dfab4d9a1b.tar.gz
external_llvm-df967d613704d4e4f01ecce85c1846dfab4d9a1b.tar.bz2
fix rdar://8470918 - llvm-mc can't assemble smovl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/AsmParser/X86AsmParser.cpp')
-rw-r--r--lib/Target/X86/AsmParser/X86AsmParser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/AsmParser/X86AsmParser.cpp b/lib/Target/X86/AsmParser/X86AsmParser.cpp
index 698e282..8252ea9 100644
--- a/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -634,6 +634,10 @@ ParseInstruction(StringRef Name, SMLoc NameLoc,
.Case("repnz", "repne")
.Case("iret", "iretl")
.Case("sysret", "sysretl")
+ .Case("smovb", "movsb")
+ .Case("smovw", "movsw")
+ .Case("smovl", "movsl")
+ .Case("smovq", "movsq")
.Case("push", Is64Bit ? "pushq" : "pushl")
.Case("pop", Is64Bit ? "popq" : "popl")
.Case("pushf", Is64Bit ? "pushfq" : "pushfl")