1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

fix rdar://8470918 - llvm-mc can't assemble smovl

llvm-svn: 114819
This commit is contained in:
Chris Lattner 2010-09-27 07:11:53 +00:00
parent 5cadf79b60
commit 26c94e7200
2 changed files with 11 additions and 0 deletions

View File

@ -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")

View File

@ -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