[PATCH v2] PowerPC: Support for Controlled Cluster Memory (RFC02689)

Surya Kumari Jangala jskumari@linux.ibm.com
Tue Nov 4 10:24:01 GMT 2025


I cannot apply this patch, resend correct patch.

-Surya

On 25/10/25 9:16 pm, 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 v1->v2:
> <Change XOP from 807 to 870>
> <Changed encoding(4c->cc) in future.d for ccmrl>
> 
>  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 31dff4ca1ad..522ce72cf8b 100644
> --- a/gas/testsuite/gas/ppc/future.d
> +++ b/gas/testsuite/gas/ppc/future.d
> @@ -109,4 +109,6 @@ Disassembly of section \.text:
>  .*:	(62 61 0e 7d|7d 0e 61 62) 	dmsha2hash dm2,dm3,0
>  .*:	(62 01 0f 7f|7f 0f 01 62) 	dmsha3hash dm3,0
>  .*:	(94 1e 80 f3|f3 80 1e 94) 	dmxxshapad dm7,vs3,0,0,0
> +.*:	(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 ca70e0ddb5d..6f9399558b4 100644
> --- a/gas/testsuite/gas/ppc/future.s
> +++ b/gas/testsuite/gas/ppc/future.s
> @@ -83,4 +83,6 @@ _start:
>  	dmsha2hash 2, 3, 0
>  	dmsha3hash 3, 0
>  	dmxxshapad 7, 3, 0, 0, 0
> +	ccmclean
> +	ccmrl
>  
> diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
> index 642581133f6..f241fb3937e 100644
> --- a/opcodes/ppc-opc.c
> +++ b/opcodes/ppc-opc.c
> @@ -8892,6 +8892,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}},
>  
> @@ -8956,6 +8957,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