MC/X86: Add alias for fwait.

llvm-svn: 105001
This commit is contained in:
Kevin Enderby 2010-05-28 20:59:10 +00:00
parent a688566f0a
commit b29228905f
2 changed files with 6 additions and 0 deletions

View File

@ -644,6 +644,7 @@ ParseInstruction(const StringRef &Name, SMLoc NameLoc,
.Case("cmovnlel", "cmovgl")
.Case("cmovnzl", "cmovnel")
.Case("cmovzl", "cmovel")
.Case("fwait", "wait")
.Default(Name);
// FIXME: Hack to recognize cmp<comparison code>{ss,sd,ps,pd}.

View File

@ -388,3 +388,8 @@ retl
// CHECK: movl %dr7, %eax
// CHECK: encoding: [0x0f,0x21,0xf8]
movl %dr7,%eax
// radr://8017522
// CHECK: wait
// CHECK: encoding: [0x9b]
fwait