[llvm-commits] [llvm] r114819 - in /llvm/trunk: lib/Target/X86/AsmParser/X86AsmParser.cpp test/MC/AsmParser/X86/x86_instructions.s
Chris Lattner
sabre at nondot.org
Mon Sep 27 00:11:53 PDT 2010
Author: lattner
Date: Mon Sep 27 02:11:53 2010
New Revision: 114819
URL: http://llvm.org/viewvc/llvm-project?rev=114819&view=rev
Log:
fix rdar://8470918 - llvm-mc can't assemble smovl
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=114819&r1=114818&r2=114819&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Mon Sep 27 02:11:53 2010
@@ -634,6 +634,10 @@
.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")
Modified: llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s?rev=114819&r1=114818&r2=114819&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s (original)
+++ llvm/trunk/test/MC/AsmParser/X86/x86_instructions.s Mon Sep 27 02:11:53 2010
@@ -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
More information about the llvm-commits
mailing list