From f5fc30d05c7e2aaba4fe892ab52fbf0930342dac Mon Sep 17 00:00:00 2001 From: Peter Bergner Date: Tue, 18 Aug 2020 12:42:31 -0500 Subject: [PATCH] PowerPC: Rename xvcvbf16sp to xvcvbf16spn The xvcvbf16sp mnemonic has been renamed to xvcvbf16spn, to be consistent with the other non-signaling conversion instructions which all end with "n". opcodes/ * ppc-opc.c (powerpc_opcodes) : Rename from this... : ...to this. gas/ * testsuite/gas/ppc/vsx4.s: Update test to use new mnemonic. * testsuite/gas/ppc/vsx4.d: Likewise. --- gas/testsuite/gas/ppc/vsx4.d | 2 +- gas/testsuite/gas/ppc/vsx4.s | 2 +- opcodes/ppc-opc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gas/testsuite/gas/ppc/vsx4.d b/gas/testsuite/gas/ppc/vsx4.d index 657a8ae6d99..e21540eb2e5 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 : -.*: (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 diff --git a/gas/testsuite/gas/ppc/vsx4.s b/gas/testsuite/gas/ppc/vsx4.s index 290f595017b..3d7534e5d62 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/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 75944e27517..cdaffdf149c 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}}, -- 2.30.2