PowerPC: Add support for RFC02658 - MMA+ Outer-Product Instructions
authorPeter Bergner <bergner@linux.ibm.com>
Sat, 8 Oct 2022 21:19:51 +0000 (16:19 -0500)
committerPeter Bergner <bergner@linux.ibm.com>
Fri, 28 Oct 2022 00:23:00 +0000 (19:23 -0500)
commitbb98553cad4e017f1851153fa5de91f2cee98fb2
tree93a55dc653e7a3ecc0854dc2ae06cd1219e825af
parent79e24d0a6c067a29150cf72ef8512b425e573e21
PowerPC: Add support for RFC02658 - MMA+ Outer-Product Instructions

gas/
* config/tc-ppc.c (md_assemble): Only check for prefix opcodes.
* testsuite/gas/ppc/rfc02658.s: New test.
* testsuite/gas/ppc/rfc02658.d: Likewise.
* testsuite/gas/ppc/ppc.exp: Run it.

opcodes/
* ppc-opc.c (XMSK8, P_GERX4_MASK, P_GERX2_MASK, XX3GERX_MASK): New.
(powerpc_opcodes): Add dmxvi8gerx4pp, dmxvi8gerx4, dmxvf16gerx2pp,
dmxvf16gerx2, dmxvbf16gerx2pp, dmxvf16gerx2np, dmxvbf16gerx2,
dmxvi8gerx4spp, dmxvbf16gerx2np, dmxvf16gerx2pn, dmxvbf16gerx2pn,
dmxvf16gerx2nn, dmxvbf16gerx2nn, pmdmxvi8gerx4pp, pmdmxvi8gerx4,
pmdmxvf16gerx2pp, pmdmxvf16gerx2, pmdmxvbf16gerx2pp, pmdmxvf16gerx2np,
pmdmxvbf16gerx2, pmdmxvi8gerx4spp, pmdmxvbf16gerx2np, pmdmxvf16gerx2pn,
pmdmxvbf16gerx2pn, pmdmxvf16gerx2nn, pmdmxvbf16gerx2nn.
gas/config/tc-ppc.c
gas/testsuite/gas/ppc/ppc.exp
gas/testsuite/gas/ppc/rfc02658.d [new file with mode: 0644]
gas/testsuite/gas/ppc/rfc02658.s [new file with mode: 0644]
opcodes/ppc-opc.c