mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
fix rdar://8438816 - unrecognized 'fildq' instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71859c640f
commit
35aa94b229
@ -681,7 +681,8 @@ ParseInstruction(StringRef Name, SMLoc NameLoc,
|
||||
.Case("cmovzw", "cmovew") .Case("cmovzl", "cmovel")
|
||||
.Case("cmovzq", "cmoveq") .Case("cmovz", "cmove")
|
||||
.Case("fwait", "wait")
|
||||
.Case("movzx", "movzb")
|
||||
.Case("movzx", "movzb") // FIXME: Not correct.
|
||||
.Case("fildq", "fildll")
|
||||
.Default(Name);
|
||||
|
||||
// FIXME: Hack to recognize cmp<comparison code>{ss,sd,ps,pd}.
|
||||
|
@ -248,5 +248,15 @@ popw %gs
|
||||
// CHECK: popw %gs
|
||||
// CHECK: encoding: [0x66,0x0f,0xa9]
|
||||
|
||||
// rdar://8438816
|
||||
fildq -8(%rsp)
|
||||
fildll -8(%rsp)
|
||||
// CHECK: fildll -8(%rsp)
|
||||
// CHECK: encoding: [0xdf,0x6c,0x24,0xf8]
|
||||
// CHECK: fildll -8(%rsp)
|
||||
// CHECK: encoding: [0xdf,0x6c,0x24,0xf8]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user