MIPS: Add Imagination interAptiv MR2 GAS test infrastructure
authorMaciej W. Rozycki <macro@imgtec.com>
Wed, 28 Jun 2017 01:07:36 +0000 (02:07 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Wed, 28 Jun 2017 01:07:36 +0000 (02:07 +0100)
commitc7d289d129cde92c0d351446c5072c5f744040fe
tree508601525cff2b3b49c589d96c39d6dfab3ee6c1
parent38bf472a15210c222bb3885820e763c47760a704
MIPS: Add Imagination interAptiv MR2 GAS test infrastructure

Define a new regular MIPS and MIPS16 interAptiv MR2 test architecture
and adjust existing tests now run against these architectures
accordingly.

This change causes new test failures:

FAIL: MIPS jal-svr4pic (interaptiv-mr2)
FAIL: MIPS jal-svr4pic noreorder (interaptiv-mr2)

with the `mips-sgi-irix5' and `mips-sgi-irix6' targets, which are
consistent with the remaining architecture results for these cases, that
do not take into account the lack of R_MIPS_JALR relocations produced by
GAS for these targets.  As a preexisting issue these failures are not
addressed with this change.

gas/
* testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
(mips16e2-interaptiv-mr2): Likewise.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
New test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
New test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
New test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
New test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
New test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
New test.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
New test.
* testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
* testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
* testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
* testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
flag lines present rather than just one.
* testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
* testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
* testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
* testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
* testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
stderr output.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
New stderr output.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
New stderr output.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
New stderr output.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
New stderr output.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
stderr output.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
stderr output.
* testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
New stderr output.
* testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
output.
* testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
output.
32 files changed:
gas/ChangeLog
gas/testsuite/gas/mips/attr-gnu-4-5.d
gas/testsuite/gas/mips/attr-gnu-4-6.d
gas/testsuite/gas/mips/attr-gnu-4-7.d
gas/testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d
gas/testsuite/gas/mips/attr-none-o32-fp64.d
gas/testsuite/gas/mips/attr-none-o32-fpxx.d
gas/testsuite/gas/mips/interaptiv-mr2@isa-override-1.d [new file with mode: 0644]
gas/testsuite/gas/mips/interaptiv-mr2@isa-override-1.l [new file with mode: 0644]
gas/testsuite/gas/mips/interaptiv-mr2@isa-override-2.d [new file with mode: 0644]
gas/testsuite/gas/mips/interaptiv-mr2@isa-override-2.l [new file with mode: 0644]
gas/testsuite/gas/mips/interaptiv-mr2@mcu.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d [new file with mode: 0644]