[PATCH][committed] PowerPC: Rename xvcvbf16sp to xvcvbf16spn

Peter Bergner bergner@linux.ibm.com
Tue Aug 18 18:49:23 GMT 2020


PowerPC: Rename xvcvbf16sp to xvcvbf16spn

The xvcvbf16sp mnemonic, which was just added in ISA 3.1 has been renamed
to xvcvbf16spn to make it consistent with the other non-signaling conversion
instructions which all end with "n".  The only use of this instruction is in
a GCC MMA conversion built-in function, so there is little to no compatibility
issue.  The GCC patch for this rename has already been approved and will be
pushed soon.

I committed this to trunk and the 2.35 release branch.

Peter


opcodes/
	* ppc-opc.c (powerpc_opcodes) <xvcvbf16sp>: Rename from this...
	<xvcvbf16spn>: ...to this.

gas/
	* testsuite/gas/ppc/vsx4.s: Update test to use new mnemonic.
	* testsuite/gas/ppc/vsx4.d: Likewise.

diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 75944e2751..cdaffdf149 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -8463,7 +8463,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
 {"xvxexpsp",	XX2VA(60,475,8),XX2_MASK,    PPCVSX3,	PPCVLE,		{XT6, XB6}},
 {"xvxsigsp",	XX2VA(60,475,9),XX2_MASK,    PPCVSX3,	PPCVLE,		{XT6, XB6}},
 {"xxbrw",	XX2VA(60,475,15),XX2_MASK,   PPCVSX3,	PPCVLE,		{XT6, XB6}},
-{"xvcvbf16sp",	XX2VA(60,475,16),XX2_MASK,   PPCVSX4,	PPCVLE,		{XT6, XB6}},
+{"xvcvbf16spn",	XX2VA(60,475,16),XX2_MASK,   PPCVSX4,	PPCVLE,		{XT6, XB6}},
 {"xvcvspbf16",	XX2VA(60,475,17),XX2_MASK,   PPCVSX4,	PPCVLE,		{XT6, XB6}},
 {"xxbrd",	XX2VA(60,475,23),XX2_MASK,   PPCVSX3,	PPCVLE,		{XT6, XB6}},
 {"xvcvhpsp",	XX2VA(60,475,24),XX2_MASK,   PPCVSX3,	PPCVLE,		{XT6, XB6}},
diff --git a/gas/testsuite/gas/ppc/vsx4.s b/gas/testsuite/gas/ppc/vsx4.s
index 290f595017..3d7534e5d6 100644
--- a/gas/testsuite/gas/ppc/vsx4.s
+++ b/gas/testsuite/gas/ppc/vsx4.s
@@ -1,4 +1,4 @@
 	.text
 vsx4:
-	xvcvbf16sp	34,45
+	xvcvbf16spn	34,45
 	xvcvspbf16	47,36
diff --git a/gas/testsuite/gas/ppc/vsx4.d b/gas/testsuite/gas/ppc/vsx4.d
index 657a8ae6d9..e21540eb2e 100644
--- a/gas/testsuite/gas/ppc/vsx4.d
+++ b/gas/testsuite/gas/ppc/vsx4.d
@@ -7,6 +7,6 @@
 Disassembly of section \.text:
 
 0+0 <vsx4>:
-.*:	(f0 50 6f 6f|6f 6f 50 f0) 	xvcvbf16sp vs34,vs45
+.*:	(f0 50 6f 6f|6f 6f 50 f0) 	xvcvbf16spn vs34,vs45
 .*:	(f1 f1 27 6f|6f 27 f1 f1) 	xvcvspbf16 vs47,vs36
 #pass


More information about the Binutils mailing list