diff options
-rw-r--r-- | lib/Target/X86/AsmParser/X86AsmParser.cpp | 4 | ||||
-rw-r--r-- | test/MC/AsmParser/X86/x86_instructions.s | 7 |
2 files changed, 11 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") diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s index dda047e..d16dc9d 100644 --- a/test/MC/AsmParser/X86/x86_instructions.s +++ b/test/MC/AsmParser/X86/x86_instructions.s @@ -83,6 +83,13 @@ // CHECK: movsb rep;movsb + +// rdar://8470918 +smovb // CHECK: movsb +smovw // CHECK: movsw +smovl // CHECK: movsl +smovq // CHECK: movsq + // rdar://8456361 // CHECK: rep // CHECK: movsl |