PowerPC: Add support for RFC02655 - Saturating Subtract Instruction
authorPeter Bergner <bergner@linux.ibm.com>
Tue, 8 Nov 2022 23:41:52 +0000 (17:41 -0600)
committerPeter Bergner <bergner@linux.ibm.com>
Wed, 7 Dec 2022 17:47:16 +0000 (11:47 -0600)
commit51b52f4aded095af5722ecc5c0c5f4fde1bcf7aa
treefa1ec7e3ed0505185e8aeba6cc78248dc01b91af
parenta60038c648d15fcb4bb91772433ea5e668cdf87d
PowerPC: Add support for RFC02655 - Saturating Subtract Instruction

opcodes/
* ppc-opc.c (XOL): New define.
(XOL_MASK): Likewise.
(powerpc_opcodes): Add subfus, subfus., subwus, subwus., subdus, subdus.

gas/
* testsuite/gas/ppc/rfc02655.s: New test.
* testsuite/gas/ppc/rfc02655.d: Likewise
* testsuite/gas/ppc/future-raw.s: Likewise.
* testsuite/gas/ppc/future-raw.d: Likewise.
* testsuite/gas/ppc/ppc.exp: Run them.
gas/testsuite/gas/ppc/future-raw.d [new file with mode: 0644]
gas/testsuite/gas/ppc/future-raw.s [new file with mode: 0644]
gas/testsuite/gas/ppc/ppc.exp
gas/testsuite/gas/ppc/rfc02655.d [new file with mode: 0644]
gas/testsuite/gas/ppc/rfc02655.s [new file with mode: 0644]
opcodes/ppc-opc.c