Add RFID instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215105 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joerg Sonnenberger 2014-08-07 12:39:59 +00:00
parent 619bacb039
commit 80de56ebde
3 changed files with 9 additions and 0 deletions

View File

@ -3168,6 +3168,8 @@ def TLBSX2D : XForm_base_r3xo<31, 914, (outs),
"tlbsx. $RST, $A, $B", IIC_LdStLoad, []>,
Requires<[IsPPC4xx]>, isDOT;
def RFID : XForm_0<19, 18, (outs), (ins), "rfid", IIC_IntRFID, []>;
def RFI : XForm_0<19, 50, (outs), (ins), "rfi", IIC_SprRFI, []>,
Requires<[IsBookE]>;
def RFCI : XForm_0<19, 51, (outs), (ins), "rfci", IIC_BrB, []>,

View File

@ -2271,3 +2271,6 @@
0x7d 0x06 0x3c 0xaa
# CHECK: stswi 8, 6, 7
0x7d 0x06 0x3d 0xaa
# CHECK: rfid
0x4c 0x00 0x00 0x24

View File

@ -3616,3 +3616,7 @@
# CHECK-BE: stswi 8, 6, 7 # encoding: [0x7d,0x06,0x3d,0xaa]
# CHECK-LE: stswi 8, 6, 7 # encoding: [0xaa,0x3d,0x06,0x7d]
stswi %r8, %r6, 7
# CHECK-BE: rfid # encoding: [0x4c,0x00,0x00,0x24]
# CHECK-LE: rfid # encoding: [0x24,0x00,0x00,0x4c]
rfid