[PATCH v1] PowerPC: Support for Controlled Cluster Memory (RFC02689)
Abhay Kandpal
abhay@linux.ibm.com
Fri Oct 24 14:42:43 GMT 2025
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.
gas/testsuite/gas/ppc/future.d | 2 ++
gas/testsuite/gas/ppc/future.s | 2 ++
opcodes/ppc-opc.c | 2 ++
3 files changed, 6 insertions(+)
diff --git a/gas/testsuite/gas/ppc/future.d b/gas/testsuite/gas/ppc/future.d
index 31dff4ca1ad..72b09258ffd 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
+.*: (4e 06 00 7c|7c 00 06 4e) 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..f6397112976 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -8892,6 +8892,8 @@ 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}},
+{"ccmrl", X(31,807), 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}},
--
2.47.3
More information about the Binutils
mailing list