From: Abhay Kandpal Date: Thu, 13 Nov 2025 17:28:31 +0000 (-0500) Subject: PowerPC: Support for Controlled Cluster Memory (RFC02689) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5a59db742da706fd15d8027df523310549ac427;p=thirdparty%2Fbinutils-gdb.git PowerPC: Support for Controlled Cluster Memory (RFC02689) opcodes/ * ppc-opc.c (powerpc_opcodes): Add ccmclean, ccmrl. gas/ * testsuite/gas/ppc/future.s: New test. * testsuite/gas/ppc/future.d: Likewise. --- diff --git a/gas/testsuite/gas/ppc/future.d b/gas/testsuite/gas/ppc/future.d index 19e96fac345..ed45983366a 100644 --- a/gas/testsuite/gas/ppc/future.d +++ b/gas/testsuite/gas/ppc/future.d @@ -106,4 +106,6 @@ Disassembly of section \.text: .*: (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 +.*: (4c 06 00 7c|7c 00 06 4c) ccmclean +.*: (cc 06 00 7c|7c 00 06 cc) ccmrl #pass diff --git a/gas/testsuite/gas/ppc/future.s b/gas/testsuite/gas/ppc/future.s index 492b963c96c..64d883ecb82 100644 --- a/gas/testsuite/gas/ppc/future.s +++ b/gas/testsuite/gas/ppc/future.s @@ -80,4 +80,6 @@ _start: vupkint8tofp32 17, 23, 3 lxvpb32x 34, 18, 19 stxvpb32x 34, 20, 21 + ccmclean + ccmrl diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 08d6a38d22f..2228b0c60c1 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -8869,6 +8869,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"lfddx", X(31,803), X_MASK, E500MC, 0, {FRT, RA, RB}}, {"lvtrxl", X(31,805), X_MASK, E6500, 0, {VD, RA0, RB}}, +{"ccmclean", X(31,806), XRTRARB_MASK,FUTURE, 0, {0}}, {"stvepx", X(31,807), X_MASK, E6500, 0, {VS, RA0, RB}}, {"lvrxl", X(31,807), X_MASK, CELL, 0, {VD, RA0, RB}}, @@ -8933,6 +8934,8 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"divso", XO(31,363,1,0), XO_MASK, M601, 0, {RT, RA, RB}}, {"divso.", XO(31,363,1,1), XO_MASK, M601, 0, {RT, RA, RB}}, +{"ccmrl", X(31,870), XRTRARB_MASK,FUTURE, 0, {0}}, + {"lxvb16x", X(31,876), XX1_MASK, PPCVSX3, 0, {XT6, RA0, RB}}, {"lxvpb32x", X(31,877), X_MASK, FUTURE, 0, {XTP, RA0, RB}},