fix rdar://8438816 - unrecognized 'fildq' instruction

llvm-svn: 114116
This commit is contained in:
Chris Lattner 2010-09-16 20:46:38 +00:00
parent d542892fc0
commit 73fc5e794d
2 changed files with 12 additions and 1 deletions

View File

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

View File

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