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:
Joerg Sonnenberger 2014-07-29 15:49:09 +00:00
parent 84d236137f
commit f6689601ee
3 changed files with 7 additions and 0 deletions

View File

@ -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
// //

View File

@ -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

View File

@ -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