mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 08:26:29 +00:00
fix rdar://8470918 - llvm-mc can't assemble smovl
llvm-svn: 114819
This commit is contained in:
parent
5cadf79b60
commit
26c94e7200
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user