mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
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:
parent
697d37a436
commit
0989d29d09
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user