MIPS/GAS/testsuite: Add tests for coprocessor branch instructions
authorMaciej W. Rozycki <macro@orcam.me.uk>
Sat, 29 May 2021 01:26:32 +0000 (03:26 +0200)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Sat, 29 May 2021 01:26:32 +0000 (03:26 +0200)
commit270e2b7ddc265066ed1d201fbeca5c10fa3c6fc0
treee323917b764c36b67001db854e69d87ee80da0da
parentb930964c425533f2344c6b26d4af17200bb42928
MIPS/GAS/testsuite: Add tests for coprocessor branch instructions

Cover basic CP0, CP2, CP3 branch and branch-likely instructions across
the relevant ISA levels.  Omit CP1 branches, covered elsewhere.

gas/
* testsuite/gas/mips/cp0b.d: New test.
* testsuite/gas/mips/cp0bl.d: New test.
* testsuite/gas/mips/cp2b.d: New test.
* testsuite/gas/mips/micromips@cp2b.d: New test.
* testsuite/gas/mips/cp2bl.d: New test.
* testsuite/gas/mips/micromips@cp2bl.d: New test.
* testsuite/gas/mips/cp3b.d: New test.
* testsuite/gas/mips/cp3bl.d: New test.
* testsuite/gas/mips/cp0b.s: New test source.
* testsuite/gas/mips/cp0bl.s: New test source.
* testsuite/gas/mips/cp2b.s: New test source.
* testsuite/gas/mips/cp2bl.s: New test source.
* testsuite/gas/mips/cp3b.s: New test source.
* testsuite/gas/mips/cp3bl.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
16 files changed:
gas/ChangeLog
gas/testsuite/gas/mips/cp0b.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0b.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp0bl.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0bl.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp2b.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp2b.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp2bl.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp2bl.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp3b.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp3b.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp3bl.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp3bl.s [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@cp2b.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@cp2bl.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp