MIPS/GAS/testsuite: Add tests for coprocessor access 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)
commit709aa065e1bd6988cf21c975a50abc2e002c6277
tree82b99850d8729dee60561755fa201a53aa29783d
parent9204ccd4b136e01457f6dfd2d62aaa98530ce740
MIPS/GAS/testsuite: Add tests for coprocessor access instructions

Cover basic CP0, CP2, CP3 move, load and store instructions across the
relevant ISA levels.  Omit CP0 move and CP1 instructions as they are
covered elsewhere.

gas/
* testsuite/gas/mips/cp0c.d: New test.
* testsuite/gas/mips/cp0m.d: New test.
* testsuite/gas/mips/r3900@cp0m.d: New test.
* testsuite/gas/mips/cp2.d: New test.
* testsuite/gas/mips/micromips@cp2.d: New test.
* testsuite/gas/mips/cp2m.d: New test.
* testsuite/gas/mips/mipsr6@cp2m.d: New test.
* testsuite/gas/mips/micromips@cp2m.d: New test.
* testsuite/gas/mips/cp2d.d: New test.
* testsuite/gas/mips/mipsr6@cp2d.d: New test.
* testsuite/gas/mips/micromips@cp2d.d: New test.
* testsuite/gas/mips/cp2-64.d: New test.
* testsuite/gas/mips/micromips@cp2-64.d: New test.
* testsuite/gas/mips/cp3.d: New test.
* testsuite/gas/mips/cp3m.d: New test.
* testsuite/gas/mips/cp3d.d: New test.
* testsuite/gas/mips/cp0c.s: New test source.
* testsuite/gas/mips/cp0m.s: New test source.
* testsuite/gas/mips/cp2.s: New test source.
* testsuite/gas/mips/cp2m.s: New test source.
* testsuite/gas/mips/cp2d.s: New test source.
* testsuite/gas/mips/cp2-64.s: New test source.
* testsuite/gas/mips/cp3.s: New test source.
* testsuite/gas/mips/cp3m.s: New test source.
* testsuite/gas/mips/cp3d.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
27 files changed:
gas/ChangeLog
gas/testsuite/gas/mips/cp0c.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0c.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp0m.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0m.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp2-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp2-64.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp2.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp2.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp2d.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp2d.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp2m.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp2m.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp3.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp3.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp3d.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp3d.s [new file with mode: 0644]
gas/testsuite/gas/mips/cp3m.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp3m.s [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@cp2-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@cp2.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@cp2d.d [new file with mode: 0644]
gas/testsuite/gas/mips/micromips@cp2m.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mipsr6@cp2d.d [new file with mode: 0644]
gas/testsuite/gas/mips/mipsr6@cp2m.d [new file with mode: 0644]
gas/testsuite/gas/mips/r3900@cp0m.d [new file with mode: 0644]