[PATCH v3] PowerPC: Support for Controlled Cluster Memory (RFC02689)
Surya Kumari Jangala
jskumari@linux.ibm.com
Wed Nov 12 04:35:48 GMT 2025
LGTM. Ok to upstream.
-Surya
On 05/11/25 10:40 am, Abhay Kandpal wrote:
> opcodes/
> * ppc-opc.c (powerpc_opcodes): Add ccmclean, ccmrl.
>
> gas/
> * testsuite/gas/ppc/future.s: New test.
> * testsuite/gas/ppc/future.d: Likewise.
> ---
> This patch is reg tested.
> Changes from v2->v3:
> <Rebasing done>
>
> gas/testsuite/gas/ppc/future.d | 2 ++
> gas/testsuite/gas/ppc/future.s | 2 ++
> opcodes/ppc-opc.c | 3 +++
> 3 files changed, 7 insertions(+)
>
> 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}},
More information about the Binutils
mailing list