mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Recognize mftbl as alias for mftb, for symmetry with mttb.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d6454ed38
commit
355845b437
@ -3208,6 +3208,7 @@ def : InstAlias<"mtpid $Rx", (MTSPR 48, gprc:$Rx)>, Requires<[IsBookE]>;
|
||||
def : InstAlias<"mfpid $Rx", (MFSPR gprc:$Rx, 48)>, Requires<[IsBookE]>;
|
||||
|
||||
def : InstAlias<"mftb $Rx", (MFTB gprc:$Rx, 268)>;
|
||||
def : InstAlias<"mftbl $Rx", (MFTB gprc:$Rx, 268)>;
|
||||
def : InstAlias<"mftbu $Rx", (MFTB gprc:$Rx, 269)>;
|
||||
|
||||
def : InstAlias<"xnop", (XORI R0, R0, 0)>;
|
||||
|
@ -106,6 +106,9 @@
|
||||
# CHECK-BE: mftb 2, 268 # encoding: [0x7c,0x4c,0x42,0xe6]
|
||||
# CHECK-LE: mftb 2, 268 # encoding: [0xe6,0x42,0x4c,0x7c]
|
||||
mftb 2
|
||||
# CHECK-BE: mftb 2, 268 # encoding: [0x7c,0x4c,0x42,0xe6]
|
||||
# CHECK-LE: mftb 2, 268 # encoding: [0xe6,0x42,0x4c,0x7c]
|
||||
mftbl 2
|
||||
# CHECK-BE: mftb 2, 269 # encoding: [0x7c,0x4d,0x42,0xe6]
|
||||
# CHECK-LE: mftb 2, 269 # encoding: [0xe6,0x42,0x4d,0x7c]
|
||||
mftbu 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user