mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
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
This commit is contained in:
parent
cb296ec0b6
commit
df967d6137
@ -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…
x
Reference in New Issue
Block a user