"subfus", "$RT, $L, $RA, $RB", []>;
}
+let Predicates = [HasVSX, IsISAFuture] in {
+ let mayLoad = 1 in {
+ def LXVRL : XX1Form_memOp<31, 525, (outs vsrc:$XT), (ins memr:$src, g8rc:$rB),
+ "lxvrl $XT, $src, $rB", IIC_LdStLoad, []>;
+
+ def LXVRLL : XX1Form_memOp<31, 557, (outs vsrc:$XT), (ins memr:$src, g8rc:$rB),
+ "lxvrll $XT, $src, $rB", IIC_LdStLoad, []>;
+
+ def LXVPRL : XForm_XTp5_XAB5<31, 589, (outs vsrprc:$XTp),
+ (ins memr:$src, g8rc:$rB),
+ "lxvprl $XTp, $src, $rB", IIC_LdStLFD, []>;
+
+ def LXVPRLL : XForm_XTp5_XAB5<31, 621, (outs vsrprc:$XTp),
+ (ins memr:$src, g8rc:$rB),
+ "lxvprll $XTp, $src, $rB", IIC_LdStLFD, []>;
+ }
+
+ let mayStore = 1 in {
+ def STXVRL : XX1Form_memOp<31, 653, (outs),
+ (ins vsrc:$XT, memr:$dst, g8rc:$rB),
+ "stxvrl $XT, $dst, $rB", IIC_LdStLoad, []>;
+
+ def STXVRLL : XX1Form_memOp<31, 685, (outs),
+ (ins vsrc:$XT, memr:$dst, g8rc:$rB),
+ "stxvrll $XT, $dst, $rB", IIC_LdStLoad, []>;
+
+ def STXVPRL : XForm_XTp5_XAB5<31, 717, (outs),
+ (ins vsrprc:$XTp, memr:$src, g8rc:$rB),
+ "stxvprl $XTp, $src, $rB", IIC_LdStLFD, []>;
+
+ def STXVPRLL : XForm_XTp5_XAB5<31, 749, (outs),
+ (ins vsrprc:$XTp, memr:$src, g8rc:$rB),
+ "stxvprll $XTp, $src, $rB", IIC_LdStLFD, []>;
+ }
+}
#CHECK: subfus. 3, 1, 4, 5
0x7c 0x64 0x2c 0x91
+
+#CHECK: lxvrl 1, 1, 2
+0x7c 0x21 0x14 0x1a
+
+#CHECK: lxvrll 0, 3, 4
+0x7c 0x03 0x24 0x5a
+
+#CHECK: stxvrl 2, 0, 1
+0x7c 0x40 0x0d 0x1a
+
+#CHECK: stxvrll 3, 1, 5
+0x7c 0x61 0x2d 0x5a
+
+#CHECK: lxvprl 6, 1, 5
+0x7c 0xc1 0x2c 0x9a
+
+#CHECK: lxvprll 6, 2, 1
+0x7c 0xc2 0x0c 0xda
+
+#CHECK: stxvprl 0, 1, 2
+0x7c 0x01 0x15 0x9a
+
+#CHECK: stxvprll 6, 0, 1
+0x7c 0xc0 0x0d 0xda
#CHECK: subfus. 3, 1, 4, 5
0x91 0x2c 0x64 0x7c
+
+#CHECK: lxvrl 1, 1, 2
+0x1a 0x14 0x21 0x7c
+
+#CHECK: lxvrll 0, 3, 4
+0x5a 0x24 0x03 0x7c
+
+#CHECK: stxvrl 2, 0, 1
+0x1a 0x0d 0x40 0x7c
+
+#CHECK: stxvrll 3, 1, 5
+0x5a 0x2d 0x61 0x7c
+
+#CHECK: lxvprl 6, 1, 5
+0x9a 0x2c 0xc1 0x7c
+
+#CHECK: lxvprll 6, 2, 1
+0xda 0x0c 0xc2 0x7c
+
+#CHECK: stxvprl 0, 1, 2
+0x9a 0x15 0x01 0x7c
+
+#CHECK: stxvprll 6, 0, 1
+0xda 0x0d 0xc0 0x7c
# CHECK-BE: subfus. 3, 1, 4, 5 # encoding: [0x7c,0x64,0x2c,0x91]
# CHECK-LE: subfus. 3, 1, 4, 5 # encoding: [0x91,0x2c,0x64,0x7c]
subfus. 3, 1, 4, 5
+
+# CHECK-BE: lxvrl 1, 1, 2 # encoding: [0x7c,0x21,0x14,0x1a]
+# CHECK-LE: lxvrl 1, 1, 2 # encoding: [0x1a,0x14,0x21,0x7c]
+ lxvrl 1, 1, 2
+
+# CHECK-BE: lxvrll 0, 3, 4 # encoding: [0x7c,0x03,0x24,0x5a]
+# CHECK-LE: lxvrll 0, 3, 4 # encoding: [0x5a,0x24,0x03,0x7c]
+ lxvrll 0, 3, 4
+
+# CHECK-BE: stxvrl 2, 0, 1 # encoding: [0x7c,0x40,0x0d,0x1a]
+# CHECK-LE: stxvrl 2, 0, 1 # encoding: [0x1a,0x0d,0x40,0x7c]
+ stxvrl 2, 0, 1
+
+# CHECK-BE: stxvrll 3, 1, 5 # encoding: [0x7c,0x61,0x2d,0x5a]
+# CHECK-LE: stxvrll 3, 1, 5 # encoding: [0x5a,0x2d,0x61,0x7c]
+ stxvrll 3, 1, 5
+
+# CHECK-BE: lxvprl 6, 1, 5 # encoding: [0x7c,0xc1,0x2c,0x9a]
+# CHECK-LE: lxvprl 6, 1, 5 # encoding: [0x9a,0x2c,0xc1,0x7c]
+ lxvprl 6, 1, 5
+
+# CHECK-BE: lxvprll 6, 2, 1 # encoding: [0x7c,0xc2,0x0c,0xda]
+# CHECK-LE: lxvprll 6, 2, 1 # encoding: [0xda,0x0c,0xc2,0x7c]
+ lxvprll 6, 2, 1
+
+# CHECK-BE: stxvprl 0, 1, 2 # encoding: [0x7c,0x01,0x15,0x9a]
+# CHECK-LE: stxvprl 0, 1, 2 # encoding: [0x9a,0x15,0x01,0x7c]
+ stxvprl 0, 1, 2
+
+# CHECK-BE: stxvprll 6, 0, 1 # encoding: [0x7c,0xc0,0x0d,0xda]
+# CHECK-LE: stxvprll 6, 0, 1 # encoding: [0xda,0x0d,0xc0,0x7c]
+ stxvprll 6, 0, 1