MIPS16e2: Add MIPS16e2 ASE GAS test infrastructure
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 15 May 2017 12:40:50 +0000 (13:40 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 15 May 2017 12:57:11 +0000 (13:57 +0100)
commit70ab592fbae1725ac576012dd1242328e20e664a
tree82867a6cce7b8c742556e41456735f9559a591b8
parent25499ac7ee92bca177c9436383ee167d6a220066
MIPS16e2: Add MIPS16e2 ASE GAS test infrastructure

Define a new 32-bit and 64-bit MIPS16e2 test architecture and adjust
existing tests now run against these architectures accordingly.

gas/
* testsuite/gas/mips/mips.exp (run_dump_test_arch): Add
`mips16e2@' prefix.
(run_list_test_arch): Likewise.
(mips16e2-32, mips16e2-64): New architectures.
* testsuite/gas/mips/mips16e2-32@mips16-macro.d: New test.
* testsuite/gas/mips/mips16e2-32@mips16-macro-t.d: New test.
* testsuite/gas/mips/mips16e2-32@mips16-macro-e.d: New test.
* testsuite/gas/mips/mips16e2-32@mips16-insn-t.d: New test.
* testsuite/gas/mips/mips16e2-32@mips16-insn-e.d: New test.
* testsuite/gas/mips/mips16e2-32@mips16e-64.d: New test.
* testsuite/gas/mips/mips16e2-32@mips16-sub.d: New test.
* testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d: New test.
* testsuite/gas/mips/mips16e2@relax-swap3.d: New test.
* testsuite/gas/mips/mips16-32@mips16-asmacro.d: Remove `source'
tag.  Add `-I$srcdir/$subdir' to `as' flags.
* testsuite/gas/mips/mips16-64@mips16-asmacro.d: Likewise.
* testsuite/gas/mips/mips16e2-32@mips16-macro.l: New stderr
output.
* testsuite/gas/mips/mips16e2-32@mips16-macro-t.l: New stderr
output.
* testsuite/gas/mips/mips16e2-32@mips16-macro-e.l: New stderr
output.
* testsuite/gas/mips/mips16e2-32@mips16-insn-t.l: New stderr
output.
* testsuite/gas/mips/mips16e2-32@mips16-insn-e.l: New stderr
output.
* testsuite/gas/mips/mips16-sub.s: Add `.set nomips16e2'.
* testsuite/gas/mips/mips16e-sub.s: Likewise.
* testsuite/gas/mips/mips16e-64-sub.s: Likewise.
* testsuite/gas/mips/mips16-asmacro.s: Remove `.set mips32'.
* testsuite/gas/mips/mips16-32@mips16-asmacro.s: New test
source.
* testsuite/gas/mips/mips16-64@mips16-asmacro.s: New test
source.
24 files changed:
gas/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16-32@mips16-asmacro.d
gas/testsuite/gas/mips/mips16-32@mips16-asmacro.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16-64@mips16-asmacro.d
gas/testsuite/gas/mips/mips16-64@mips16-asmacro.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips16-asmacro.s
gas/testsuite/gas/mips/mips16-sub.s
gas/testsuite/gas/mips/mips16e-64-sub.s
gas/testsuite/gas/mips/mips16e-sub.s
gas/testsuite/gas/mips/mips16e2-32@mips16-insn-e.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-insn-e.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-insn-t.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-insn-t.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-macro-e.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-macro-e.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-macro-t.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-macro-t.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-macro.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-macro.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16e-64-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-32@mips16e-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2@relax-swap3.d [new file with mode: 0644]