From 79cb3f75debfeb1355f8883143f0f6dc98f70080 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Tue, 27 Jun 2017 04:23:54 +0100 Subject: [PATCH] MIPS/GAS/testsuite: Drop the `mips16e-' prefix from SAVE/RESTORE tests In preparation to running these tests against regular MIPS instructions. gas/ * testsuite/gas/mips/mips16e-save.d: Rename to... * testsuite/gas/mips/save.d: ... this. * testsuite/gas/mips/mips16e-save-err.d: Update the `error-output' option and rename to... * testsuite/gas/mips/save-err.d: ... this. * testsuite/gas/mips/mips16e-save-err.l: Rename to... * testsuite/gas/mips/save-err.l: ... this. * testsuite/gas/mips/mips16e-save.s: Rename to... * testsuite/gas/mips/save.s: ... this. * testsuite/gas/mips/mips16e-save-err.s: Rename to... * testsuite/gas/mips/save-err.s: ... this. * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and `mips16e-save-err' invocations to `save' and `save-err' respectively and reorder these tests away from MIPS16 tests. --- gas/ChangeLog | 17 +++++++++++++++++ gas/testsuite/gas/mips/mips.exp | 6 +++--- .../gas/mips/{mips16e-save-err.d => save-err.d} | 2 +- .../gas/mips/{mips16e-save-err.l => save-err.l} | 0 .../gas/mips/{mips16e-save-err.s => save-err.s} | 0 .../gas/mips/{mips16e-save.d => save.d} | 0 .../gas/mips/{mips16e-save.s => save.s} | 0 7 files changed, 21 insertions(+), 4 deletions(-) rename gas/testsuite/gas/mips/{mips16e-save-err.d => save-err.d} (56%) rename gas/testsuite/gas/mips/{mips16e-save-err.l => save-err.l} (100%) rename gas/testsuite/gas/mips/{mips16e-save-err.s => save-err.s} (100%) rename gas/testsuite/gas/mips/{mips16e-save.d => save.d} (100%) rename gas/testsuite/gas/mips/{mips16e-save.s => save.s} (100%) diff --git a/gas/ChangeLog b/gas/ChangeLog index 37d45b8abb9..6a3437b6a1a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,20 @@ +2017-06-27 Maciej W. Rozycki + + * testsuite/gas/mips/mips16e-save.d: Rename to... + * testsuite/gas/mips/save.d: ... this. + * testsuite/gas/mips/mips16e-save-err.d: Update the + `error-output' option and rename to... + * testsuite/gas/mips/save-err.d: ... this. + * testsuite/gas/mips/mips16e-save-err.l: Rename to... + * testsuite/gas/mips/save-err.l: ... this. + * testsuite/gas/mips/mips16e-save.s: Rename to... + * testsuite/gas/mips/save.s: ... this. + * testsuite/gas/mips/mips16e-save-err.s: Rename to... + * testsuite/gas/mips/save-err.s: ... this. + * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and + `mips16e-save-err' invocations to `save' and `save-err' + respectively and reorder these tests away from MIPS16 tests. + 2017-06-27 Maciej W. Rozycki * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32 diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index b9787045b9d..2e3b3d58c08 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -1376,6 +1376,9 @@ if { [istarget mips*-*-vxworks*] } { run_dump_test "mips64-dsp" run_dump_test "mips32-mt" + run_dump_test_arches "save" [mips_arch_list_matching mips16e-32] + run_dump_test_arches "save-err" [mips_arch_list_matching mips16e-32] + run_dump_test "mips16-dwarf2" if $has_newabi { run_dump_test "mips16-dwarf2-n32" @@ -1383,9 +1386,6 @@ if { [istarget mips*-*-vxworks*] } { run_dump_test "mips16-stabs" run_dump_test "mips16e-jrc" - run_dump_test_arches "mips16e-save" [mips_arch_list_matching mips16e-32] - run_dump_test_arches "mips16e-save-err" \ - [mips_arch_list_matching mips16e-32] run_dump_test "mips16e2-lui" run_dump_test "mips16-intermix" diff --git a/gas/testsuite/gas/mips/mips16e-save-err.d b/gas/testsuite/gas/mips/save-err.d similarity index 56% rename from gas/testsuite/gas/mips/mips16e-save-err.d rename to gas/testsuite/gas/mips/save-err.d index fd6b9cadbe1..c0a45bd21d9 100644 --- a/gas/testsuite/gas/mips/mips16e-save-err.d +++ b/gas/testsuite/gas/mips/save-err.d @@ -1,3 +1,3 @@ #name: MIPS16e SAVE/RESTORE errors #as: -32 -#error-output: mips16e-save-err.l +#error-output: save-err.l diff --git a/gas/testsuite/gas/mips/mips16e-save-err.l b/gas/testsuite/gas/mips/save-err.l similarity index 100% rename from gas/testsuite/gas/mips/mips16e-save-err.l rename to gas/testsuite/gas/mips/save-err.l diff --git a/gas/testsuite/gas/mips/mips16e-save-err.s b/gas/testsuite/gas/mips/save-err.s similarity index 100% rename from gas/testsuite/gas/mips/mips16e-save-err.s rename to gas/testsuite/gas/mips/save-err.s diff --git a/gas/testsuite/gas/mips/mips16e-save.d b/gas/testsuite/gas/mips/save.d similarity index 100% rename from gas/testsuite/gas/mips/mips16e-save.d rename to gas/testsuite/gas/mips/save.d diff --git a/gas/testsuite/gas/mips/mips16e-save.s b/gas/testsuite/gas/mips/save.s similarity index 100% rename from gas/testsuite/gas/mips/mips16e-save.s rename to gas/testsuite/gas/mips/save.s -- 2.30.2