Add rfci instruction.

llvm-svn: 214256
This commit is contained in:
Joerg Sonnenberger 2014-07-29 23:45:20 +00:00
parent b1e74ae824
commit db7b2c7644
3 changed files with 9 additions and 1 deletions

View File

@ -3090,7 +3090,10 @@ def TLBIEL : XForm_16b<31, 274, (outs), (ins gprc:$RB),
def TLBIE : XForm_26<31, 306, (outs), (ins gprc:$RS, gprc:$RB),
"tlbie $RB,$RS", IIC_SprTLBIE, []>;
def RFI : XForm_0<19, 50, (outs), (ins), "rfi", IIC_BrB, []>;
def RFI : XForm_0<19, 50, (outs), (ins), "rfi", IIC_BrB, []>,
Requires<[IsBookE]>;
def RFCI : XForm_0<19, 51, (outs), (ins), "rfci", IIC_BrB, []>,
Requires<[IsBookE]>;
//===----------------------------------------------------------------------===//
// PowerPC Assembler Instruction Aliases

View File

@ -107,3 +107,5 @@
# CHECK: rfi
0x4c 0x00 0x00 0x64
# CHECK: rfci
0x4c 0x00 0x00 0x66

View File

@ -144,3 +144,6 @@
# CHECK-BE: rfi # encoding: [0x4c,0x00,0x00,0x64]
# CHECK-LE: rfi # encoding: [0x64,0x00,0x00,0x4c]
rfi
# CHECK-BE: rfci # encoding: [0x4c,0x00,0x00,0x66]
# CHECK-LE: rfci # encoding: [0x66,0x00,0x00,0x4c]
rfci