]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PowerPC: Add new xxmr and xxlnot extended mnemonics
authorPeter Bergner <bergner@linux.ibm.com>
Thu, 27 May 2021 21:59:15 +0000 (16:59 -0500)
committerPeter Bergner <bergner@linux.ibm.com>
Thu, 27 May 2021 21:59:15 +0000 (16:59 -0500)
opcodes/
* ppc-opc.c (powerpc_opcodes) <xxmr, xxlnot>: New extended mnemonics.

gas/
* testsuite/gas/ppc/vsx.d <xxmr, xxlnot>: Add tests.
* testsuite/gas/ppc/vsx.s: Likewise.

gas/ChangeLog
gas/testsuite/gas/ppc/vsx.d
gas/testsuite/gas/ppc/vsx.s
opcodes/ChangeLog
opcodes/ppc-opc.c

index d2f5f7643871a1c8443e494c946e3c4bcf73c52b..3e2120dcb93c55e9889e6280c230513c142f34ad 100644 (file)
@@ -1,3 +1,8 @@
+2021-05-27  Peter Bergner  <bergner@linux.ibm.com>
+
+       * testsuite/gas/ppc/vsx.d <xxmr, xxlnot>: Add tests.
+       * testsuite/gas/ppc/vsx.s: Likewise.
+
 2021-05-27  Alan Modra  <amodra@gmail.com>
 
        * config/tc-nds32.c (do_pseudo_push_bhwd, do_pseudo_pop_bhwd),
index 0fbbf75eb93bbb6cb70369e3cae6af092f2fe516..7aa9f19733c7a3c96a27d7701cb9b7bccad66a0a 100644 (file)
@@ -170,4 +170,8 @@ Disassembly of section \.text:
 .*:    (7d 0a a6 99|99 a6 0a 7d)       lxvd2x  vs40,r10,r20
 .*:    (7d 00 a7 99|99 a7 00 7d)       stxvd2x vs40,0,r20
 .*:    (7d 0a a7 99|99 a7 0a 7d)       stxvd2x vs40,r10,r20
+.*:    (f1 12 95 17|17 95 12 f1)       xxlnot  vs40,vs50
+.*:    (f1 12 95 17|17 95 12 f1)       xxlnot  vs40,vs50
+.*:    (f1 12 94 97|97 94 12 f1)       xxmr    vs40,vs50
+.*:    (f1 12 94 97|97 94 12 f1)       xxmr    vs40,vs50
 #pass
index 716174cdb440db2daf8763614b397ba882bfad34..cd02a6e2dc090d96905f1b137f47f45ecbfecada 100644 (file)
@@ -162,3 +162,7 @@ start:
        lxvd2x     40,10,20
        stxvd2x    40,0,20
        stxvd2x    40,10,20
+       xxlnot     40,50
+       xxlnor     40,50,50
+       xxmr       40,50
+       xxlor      40,50,50
index fcb30c34701a9f58118438d912173663c484d679..7ba0c02579dbaf196a4f93f5114491468c2c21a3 100644 (file)
@@ -1,3 +1,7 @@
+2021-05-27  Peter Bergner  <bergner@linux.ibm.com>
+
+       * ppc-opc.c (powerpc_opcodes) <xxmr, xxlnot>: New extended mnemonics.
+
 2021-05-25  Alan Modra  <amodra@gmail.com>
 
        * cris-desc.c: Regenerate.
index 272dc098991608064eb97278b8962b1dcfb2d7cc..84b885a9ae93999f671547bb3c5225073585d3fd 100644 (file)
@@ -8516,6 +8516,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
 {"xsrsp",      XX2(60,281),    XX2_MASK,    PPCVSX2,   PPCVLE,         {XT6, XB6}},
 {"xsmaxjdp",   XX3(60,144),    XX3_MASK,    PPCVSX3,   PPCVLE,         {XT6, XA6, XB6}},
 {"xsnmsubasp", XX3(60,145),    XX3_MASK,    PPCVSX2,   PPCVLE,         {XT6, XA6, XB6}},
+{"xxmr",       XX3(60,146),    XX3_MASK,    PPCVSX,    PPCVLE,         {XT6, XAB6}},
 {"xxlor",      XX3(60,146),    XX3_MASK,    PPCVSX,    PPCVLE,         {XT6, XA6, XB6}},
 {"xscvuxdsp",  XX2(60,296),    XX2_MASK,    PPCVSX2,   PPCVLE,         {XT6, XB6}},
 {"xststdcsp",  XX2(60,298),    XX2BFD_MASK, PPCVSX3,   PPCVLE,         {BF, XB6, DCMX}},
@@ -8525,6 +8526,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
 {"xscvsxdsp",  XX2(60,312),    XX2_MASK,    PPCVSX2,   PPCVLE,         {XT6, XB6}},
 {"xsmaxdp",    XX3(60,160),    XX3_MASK,    PPCVSX,    PPCVLE,         {XT6, XA6, XB6}},
 {"xsnmaddadp", XX3(60,161),    XX3_MASK,    PPCVSX,    PPCVLE,         {XT6, XA6, XB6}},
+{"xxlnot",     XX3(60,162),    XX3_MASK,    PPCVSX,    PPCVLE,         {XT6, XAB6}},
 {"xxlnor",     XX3(60,162),    XX3_MASK,    PPCVSX,    PPCVLE,         {XT6, XA6, XB6}},
 {"xscvdpuxds", XX2(60,328),    XX2_MASK,    PPCVSX,    PPCVLE,         {XT6, XB6}},
 {"xscvspdp",   XX2(60,329),    XX2_MASK,    PPCVSX,    PPCVLE,         {XT6, XB6}},