[PATCH, committed] Remove the ppc ldmx mnemonic.

Peter Bergner bergner@linux.ibm.com
Fri Jun 14 20:02:00 GMT 2019


I just learned the ldmx mnemonic never actually made it into POWER9.
The following patch removes it.  Committed.

Peter

    opcodes/
	* ppc-opc.c (powerpc_opcodes) <ldmx>: Delete mnemonic.

    gas/
	* testsuite/gas/ppc/power9.d: Delete ldmx tests.
	* testsuite/gas/ppc/power9.s: Likewise.

diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index aa7184230f..b56fe3e21a 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -6082,8 +6082,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {
 
 {"mfvsrld",	X(31,307),	XX1RB_MASK,  PPCVSX3,	0,		{RA, XS6}},
 
-{"ldmx",	X(31,309),	X_MASK,	     POWER9,	0,		{RT, RA0, RB}},
-
 {"eciwx",	X(31,310),	X_MASK,	     PPC,	E500|TITAN,	{RT, RA0, RB}},
 
 {"lhzux",	X(31,311),	X_MASK,	     COM,	0,		{RT, RAL, RB}},
diff --git a/gas/testsuite/gas/ppc/power9.d b/gas/testsuite/gas/ppc/power9.d
index 9881ca0d0c..64cfb09197 100644
--- a/gas/testsuite/gas/ppc/power9.d
+++ b/gas/testsuite/gas/ppc/power9.d
@@ -358,8 +358,6 @@ Disassembly of section \.text:
 .*:	(7e ed e5 8c|8c e5 ed 7e) 	stwat   r23,r13,28
 .*:	(4c 00 02 64|64 02 00 4c) 	urfid
 .*:	(7c 00 f6 e4|e4 f6 00 7c) 	rmieg   r30
-.*:	(7d 40 7a 6a|6a 7a 40 7d) 	ldmx    r10,0,r15
-.*:	(7d 43 7a 6a|6a 7a 43 7d) 	ldmx    r10,r3,r15
 .*:	(4c 00 02 e4|e4 02 00 4c) 	stop
 .*:	(7c 00 00 3c|3c 00 00 7c) 	wait
 .*:	(7c 00 00 3c|3c 00 00 7c) 	wait
diff --git a/gas/testsuite/gas/ppc/power9.s b/gas/testsuite/gas/ppc/power9.s
index 4e3530fba9..1e9266cf9f 100644
--- a/gas/testsuite/gas/ppc/power9.s
+++ b/gas/testsuite/gas/ppc/power9.s
@@ -349,8 +349,6 @@ power9:
 	stwat       23,13,0x1c
 	urfid
 	rmieg       30
-	ldmx        10,0,15
-	ldmx        10,3,15
 	stop
 	wait
 	wait        0



More information about the Binutils mailing list