add a missed cmov alias, part of rdar://8416805

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-09-11 17:08:22 +00:00
parent 697d37a436
commit 0989d29d09
2 changed files with 6 additions and 0 deletions

View File

@ -654,6 +654,8 @@ ParseInstruction(StringRef Name, SMLoc NameLoc,
// Condition code aliases for 16-bit, 32-bit, 64-bit and unspec operands.
.Case("cmovcw", "cmovbw") .Case("cmovcl", "cmovbl")
.Case("cmovcq", "cmovbq") .Case("cmovc", "cmovb")
.Case("cmovnaew","cmovbw") .Case("cmovnael","cmovbl")
.Case("cmovnaeq","cmovbq") .Case("cmovnae", "cmovb")
.Case("cmovnaw", "cmovbew").Case("cmovnal", "cmovbel")
.Case("cmovnaq", "cmovbeq").Case("cmovna", "cmovbe")
.Case("cmovnbw", "cmovaew").Case("cmovnbl", "cmovael")

View File

@ -107,6 +107,10 @@ retl
// CHECK: encoding: [0x0f,0x42,0xd0]
cmovbl %eax,%edx
// CHECK: cmovbw %bx, %bx
cmovnae %bx,%bx
// CHECK: cmovbel %eax, %edx
// CHECK: encoding: [0x0f,0x46,0xd0]
cmovbel %eax,%edx