mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add mfrtcu and mfrtcl instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215109 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b1fba4a83
commit
d94b6e8895
@ -3226,6 +3226,9 @@ def : InstAlias<"crnot $bx, $by", (CRNOR crbitrc:$bx, crbitrc:$by, crbitrc:$by)>
|
||||
def : InstAlias<"mtxer $Rx", (MTSPR 1, gprc:$Rx)>;
|
||||
def : InstAlias<"mfxer $Rx", (MFSPR gprc:$Rx, 1)>;
|
||||
|
||||
def : InstAlias<"mfrtcu $Rx", (MFSPR gprc:$Rx, 4)>;
|
||||
def : InstAlias<"mfrtcl $Rx", (MFSPR gprc:$Rx, 5)>;
|
||||
|
||||
def : InstAlias<"mtdscr $Rx", (MTSPR 17, gprc:$Rx)>;
|
||||
def : InstAlias<"mfdscr $Rx", (MFSPR gprc:$Rx, 17)>;
|
||||
|
||||
|
@ -3419,6 +3419,12 @@
|
||||
# CHECK-BE: mfspr 2, 1 # encoding: [0x7c,0x41,0x02,0xa6]
|
||||
# CHECK-LE: mfspr 2, 1 # encoding: [0xa6,0x02,0x41,0x7c]
|
||||
mfxer 2
|
||||
# CHECK-BE: mfspr 2, 4 # encoding: [0x7c,0x44,0x02,0xa6]
|
||||
# CHECK-LE: mfspr 2, 4 # encoding: [0xa6,0x02,0x44,0x7c]
|
||||
mfrtcu 2
|
||||
# CHECK-BE: mfspr 2, 5 # encoding: [0x7c,0x45,0x02,0xa6]
|
||||
# CHECK-LE: mfspr 2, 5 # encoding: [0xa6,0x02,0x45,0x7c]
|
||||
mfrtcl 2
|
||||
# CHECK-BE: mtspr 17, 2 # encoding: [0x7c,0x51,0x03,0xa6]
|
||||
# CHECK-LE: mtspr 17, 2 # encoding: [0xa6,0x03,0x51,0x7c]
|
||||
mtdscr 2
|
||||
|
Loading…
Reference in New Issue
Block a user