mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Add rfdi and rfmci from the e500/e500mc ISA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f6a685444
commit
ee6a05091a
@ -3123,6 +3123,9 @@ def RFI : XForm_0<19, 50, (outs), (ins), "rfi", IIC_BrB, []>,
|
||||
def RFCI : XForm_0<19, 51, (outs), (ins), "rfci", IIC_BrB, []>,
|
||||
Requires<[IsBookE]>;
|
||||
|
||||
def RFDI : XForm_0<19, 39, (outs), (ins), "rfdi", IIC_BrB, []>;
|
||||
def RFMCI : XForm_0<19, 38, (outs), (ins), "rfmci", IIC_BrB, []>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// PowerPC Assembler Instruction Aliases
|
||||
//
|
||||
|
@ -2251,3 +2251,7 @@
|
||||
# CHECK: mtcrf 255, 2
|
||||
0x7c 0x4f 0xf1 0x20
|
||||
|
||||
# CHECK: rfdi
|
||||
0x4c 0x00 0x00 0x4e
|
||||
# CHECK: rfmci
|
||||
0x4c 0x00 0x00 0x4c
|
||||
|
@ -3579,3 +3579,11 @@
|
||||
# CHECK-BE: mtspr 275, 4 # encoding: [0x7c,0x93,0x43,0xa6]
|
||||
# CHECK-LE: mtspr 275, 4 # encoding: [0xa6,0x43,0x93,0x7c]
|
||||
mtsprg3 %r4
|
||||
|
||||
# e500/e500mc instructions:
|
||||
# CHECK-BE: rfdi # encoding: [0x4c,0x00,0x00,0x4e]
|
||||
# CHECK-LE: rfdi # encoding: [0x4e,0x00,0x00,0x4c]
|
||||
rfdi
|
||||
# CHECK-BE: rfmci # encoding: [0x4c,0x00,0x00,0x4c]
|
||||
# CHECK-LE: rfmci # encoding: [0x4c,0x00,0x00,0x4c]
|
||||
rfmci
|
||||
|
Loading…
Reference in New Issue
Block a user