mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Reverse operands for Intel syntax form of 'bt' alias.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d11bbd4dd
commit
95343ef3cd
@ -1969,7 +1969,8 @@ def : InstAlias<"aad", (AAD8i8 10)>;
|
||||
def : InstAlias<"aam", (AAM8i8 10)>;
|
||||
|
||||
// Disambiguate the mem/imm form of bt-without-a-suffix as btl.
|
||||
def : InstAlias<"bt $imm, $mem", (BT32mi8 i32mem:$mem, i32i8imm:$imm)>;
|
||||
def : InstAlias<"bt {$imm, $mem|$mem, $imm}",
|
||||
(BT32mi8 i32mem:$mem, i32i8imm:$imm), 0>;
|
||||
|
||||
// clr aliases.
|
||||
def : InstAlias<"clrb $reg", (XOR8rr GR8 :$reg, GR8 :$reg)>;
|
||||
|
Loading…
Reference in New Issue
Block a user