]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PowerPC: Support for Load/Store VSX Vector Paired Byte*32 Indexed (RFC02678)
authorAbhay Kandpal <abhay@linux.ibm.com>
Tue, 28 Oct 2025 12:33:01 +0000 (07:33 -0500)
committerAbhay Kandpal <abhay@linux.ibm.com>
Tue, 28 Oct 2025 13:29:28 +0000 (08:29 -0500)
opcodes/
* ppc-opc.c (powerpc_opcodes): Add lxvpb32x, stxvpb32x.

gas/
* testsuite/gas/ppc/future.s: New test.
* testsuite/gas/ppc/future.d: Likewise.

gas/testsuite/gas/ppc/future.d
gas/testsuite/gas/ppc/future.s
opcodes/ppc-opc.c

index 645efd24e1b24bc5cc15ed9698bb1cf560178b77..19e96fac3455df94ab859eaecd414e721e46c6c6 100644 (file)
@@ -104,4 +104,6 @@ Disassembly of section \.text:
 .*:    (83 c9 e3 11|11 e3 c9 83)       vupkint8tobf16 v15,v25,1
 .*:    (83 c1 17 12|12 17 c1 83)       vupkint4tofp32 v16,v24,7
 .*:    (83 b9 2f 12|12 2f b9 83)       vupkint8tofp32 v17,v23,3
+.*:    (da 9e 72 7c|7c 72 9e da)       lxvpb32x vs34,r18,r19
+.*:    (da af 74 7c|7c 74 af da)       stxvpb32x vs34,r20,r21
 #pass
index 0f00299aa25e8f8bae0a2a5d67720a3309f0b6f9..492b963c96ce8d04187275be1e378943cb70297f 100644 (file)
@@ -78,4 +78,6 @@ _start:
        vupkint8tobf16 15, 25, 1
        vupkint4tofp32 16, 24, 7
        vupkint8tofp32 17, 23, 3
+       lxvpb32x 34, 18, 19
+       stxvpb32x 34, 20, 21
 
index 028295abc2f6650abfed8d8b63d4ccaf4a691a55..08d6a38d22f964db709506efef6f45f507e630d4 100644 (file)
@@ -8935,6 +8935,8 @@ const struct powerpc_opcode powerpc_opcodes[] = {
 
 {"lxvb16x",    X(31,876),      XX1_MASK,    PPCVSX3,   0,              {XT6, RA0, RB}},
 
+{"lxvpb32x",   X(31,877),      X_MASK,      FUTURE,    0,              {XTP, RA0, RB}},
+
 {"tabortdci.", XRC(31,878,1),  X_MASK,      PPCHTM,    0,              {TO, RA, HTM_SI}},
 
 {"rmieg",      X(31,882),      XRTRA_MASK,  POWER9,    0,              {RB}},
@@ -9073,6 +9075,8 @@ const struct powerpc_opcode powerpc_opcodes[] = {
 
 {"stxvb16x",   X(31,1004),     XX1_MASK,    PPCVSX3,   0,              {XS6, RA0, RB}},
 
+{"stxvpb32x",  X(31,1005),     X_MASK,      FUTURE,    0,              {XSP, RA0, RB}},
+
 {"trechkpt.",  XRC(31,1006,1), XRTRARB_MASK,PPCHTM,    0,              {0}},
 
 {"tlbli",      X(31,1010),     XRTRA_MASK,  PPC,       TITAN,          {RB}},