MIPS16e2: Add new MIPS16e2 ASE binutils and GAS tests
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 15 May 2017 12:45:42 +0000 (13:45 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 15 May 2017 12:57:11 +0000 (13:57 +0100)
commit3f3467ffc4b0a397a7017b8ab729e4c0060b25f0
tree0b5a9c3e25ca4cdcc7666e569ead5dea2bc1b09f
parent70ab592fbae1725ac576012dd1242328e20e664a
MIPS16e2: Add new MIPS16e2 ASE binutils and GAS tests

Verify MIPS16e2 ASE instruction assembly, disassembly and object file
flags.

binutils/
* testsuite/binutils-all/mips/mips16-undecoded.d: Add `-mips3'
to `as' flags.
* testsuite/binutils-all/mips/mips16e2-undecoded.d: New test.
* testsuite/binutils-all/mips/mips16e2-extend-insn.d: New test.
* testsuite/binutils-all/mips/mips16-undecoded.s: Remove
`.module mips3'.
* testsuite/binutils-all/mips/mips.exp: Run the new tests.

gas/
* testsuite/gas/mips/mips16e2.d: New test.
* testsuite/gas/mips/mips16e2-mt.d: New test.
* testsuite/gas/mips/mips16e2-sub.d: New test.
* testsuite/gas/mips/mips16e2@mips16e2-sub.d: New test.
* testsuite/gas/mips/mips16e2-mt-sub.d: New test.
* testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: New test.
* testsuite/gas/mips/mips16e2-hilo.d: New test.
* testsuite/gas/mips/mips16e2-hilo-n32.d: New test.
* testsuite/gas/mips/mips16e2-reloc-error.d: New test.
* testsuite/gas/mips/mips16e2-imm-error.d: New test.
* testsuite/gas/mips/elf_ase_mips16e2.d: New test.
* testsuite/gas/mips/elf_ase_mips16e2-2.d: New test.
* testsuite/gas/mips/elf-rel9-mips16e2.d: New test.
* testsuite/gas/mips/mips16e2-lui.d: New test.
* testsuite/gas/mips/mips16e2@mips32r2-sync.d: New test.
* testsuite/gas/mips/mips16e2@mips32r2-sync-1.d: New test.
* testsuite/gas/mips/mips16e2@lui-2.d: New test.
* testsuite/gas/mips/mips16e2-reloc-error.l: New stderr output.
* testsuite/gas/mips/mips16e2-imm-error.l: New stderr output.
* testsuite/gas/mips/mips16e2@lui-2.l: New stderr output.
* testsuite/gas/mips/mips16e2.s: New test source.
* testsuite/gas/mips/mips16e2-mt.s: New test source.
* testsuite/gas/mips/mips16e2-sub.s: New test source.
* testsuite/gas/mips/mips16e2-mt-sub.s: New test source.
* testsuite/gas/mips/mips16e2-hilo.s: New test source.
* testsuite/gas/mips/mips16e2-reloc-error.s: New test source.
* testsuite/gas/mips/mips16e2-imm-error.s: New test source.
* testsuite/gas/mips/elf-rel9-mips16e2.s: New test source.
* testsuite/gas/mips/mips16e2-lui.s: New test source.
* testsuite/gas/mips/mips.exp: Expand `mips32r2-sync',
`mips32r2-sync-1', `lui-1' and `lui-2' tests across MIPS16e2
architectures.  Run the new tests.
37 files changed:
binutils/ChangeLog
binutils/testsuite/binutils-all/mips/mips.exp
binutils/testsuite/binutils-all/mips/mips16-undecoded.d
binutils/testsuite/binutils-all/mips/mips16-undecoded.s
binutils/testsuite/binutils-all/mips/mips16e2-extend-insn.d [new file with mode: 0644]
binutils/testsuite/binutils-all/mips/mips16e2-undecoded.d [new file with mode: 0644]
gas/ChangeLog
gas/testsuite/gas/mips/elf-rel9-mips16e2.d [new file with mode: 0644]
gas/testsuite/gas/mips/elf-rel9-mips16e2.s [new file with mode: 0644]
gas/testsuite/gas/mips/elf_ase_mips16e2-2.d [new file with mode: 0644]
gas/testsuite/gas/mips/elf_ase_mips16e2.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16e2-hilo-n32.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-hilo.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-hilo.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-imm-error.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-imm-error.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-imm-error.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-lui.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-lui.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-mt-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-mt-sub.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-mt.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-mt.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-reloc-error.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-reloc-error.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-reloc-error.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-sub.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2@lui-2.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2@lui-2.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2@mips16e2-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2@mips32r2-sync-1.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2@mips32r2-sync.d [new file with mode: 0644]