mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 08:51:43 +00:00
fix rdar://8438816 - unrecognized 'fildq' instruction
llvm-svn: 114116
This commit is contained in:
parent
d542892fc0
commit
73fc5e794d
@ -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