mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add rfi instruction. Based on feedback by Ulrich Weigand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
84d236137f
commit
f6689601ee
@ -3066,6 +3066,8 @@ def TLBIEL : XForm_16b<31, 274, (outs), (ins gprc:$RB),
|
|||||||
def TLBIE : XForm_26<31, 306, (outs), (ins gprc:$RS, gprc:$RB),
|
def TLBIE : XForm_26<31, 306, (outs), (ins gprc:$RS, gprc:$RB),
|
||||||
"tlbie $RB,$RS", IIC_SprTLBIE, []>;
|
"tlbie $RB,$RS", IIC_SprTLBIE, []>;
|
||||||
|
|
||||||
|
def RFI : XForm_0<19, 50, (outs), (ins), "rfi", IIC_BrB, []>;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// PowerPC Assembler Instruction Aliases
|
// PowerPC Assembler Instruction Aliases
|
||||||
//
|
//
|
||||||
|
@ -105,3 +105,5 @@
|
|||||||
# CHECK: tlbie 4,0
|
# CHECK: tlbie 4,0
|
||||||
0x7c 0x00 0x22 0x64
|
0x7c 0x00 0x22 0x64
|
||||||
|
|
||||||
|
# CHECK: rfi
|
||||||
|
0x4c 0x00 0x00 0x64
|
||||||
|
@ -141,3 +141,6 @@
|
|||||||
# CHECK-LE: tlbie 4,0 # encoding: [0x64,0x22,0x00,0x7c]
|
# CHECK-LE: tlbie 4,0 # encoding: [0x64,0x22,0x00,0x7c]
|
||||||
tlbie %r4
|
tlbie %r4
|
||||||
|
|
||||||
|
# CHECK-BE: rfi # encoding: [0x4c,0x00,0x00,0x64]
|
||||||
|
# CHECK-LE: rfi # encoding: [0x64,0x00,0x00,0x4c]
|
||||||
|
rfi
|
||||||
|
Loading…
Reference in New Issue
Block a user