mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
MIPS/GAS/testsuite: Convert ISA override list tests to dump tests
And remove the zillion duplicate sources. Also `mips1@isa-override-2.l' is the same as `r3000@isa-override-2.l', so remove the latter too, now that `r3000@isa-override-2.d' can name a file to match stderr output against. gas/ * testsuite/gas/mips/isa-override-2.d: New test. * testsuite/gas/mips/mips1@isa-override-2.d: New test. * testsuite/gas/mips/r3000@isa-override-2.d: New test. * testsuite/gas/mips/r3900@isa-override-2.d: New test. * testsuite/gas/mips/mips2@isa-override-2.d: New test. * testsuite/gas/mips/mips32@isa-override-2.d: New test. * testsuite/gas/mips/mips32r2@isa-override-2.d: New test. * testsuite/gas/mips/mips32r3@isa-override-2.d: New test. * testsuite/gas/mips/mips32r5@isa-override-2.d: New test. * testsuite/gas/mips/mips32r6@isa-override-2.d: New test. * testsuite/gas/mips/octeon3@isa-override-2.d: New test. * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test. * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source. * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source. * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source. * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source. * testsuite/gas/mips/mips32@isa-override-2.s: Remove test source. * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test source. * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test source. * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test source. * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test source. * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test source. * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests into the new tests.
This commit is contained in:
parent
40e5240e1f
commit
7f401e8417
@ -1,3 +1,36 @@
|
||||
2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* testsuite/gas/mips/isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/mips1@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/r3000@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/r3900@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/mips2@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/mips32@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/mips32r2@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/mips32r3@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/mips32r5@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/mips32r6@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/octeon3@isa-override-2.d: New test.
|
||||
* testsuite/gas/mips/r3000@isa-override-2.l: Remove list test.
|
||||
* testsuite/gas/mips/mips1@isa-override-2.s: Remove test source.
|
||||
* testsuite/gas/mips/r3000@isa-override-2.s: Remove test source.
|
||||
* testsuite/gas/mips/r3900@isa-override-2.s: Remove test source.
|
||||
* testsuite/gas/mips/mips2@isa-override-2.s: Remove test source.
|
||||
* testsuite/gas/mips/mips32@isa-override-2.s: Remove test
|
||||
source.
|
||||
* testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test
|
||||
source.
|
||||
* testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test
|
||||
source.
|
||||
* testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test
|
||||
source.
|
||||
* testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test
|
||||
source.
|
||||
* testsuite/gas/mips/octeon3@isa-override-2.s: Remove test
|
||||
source.
|
||||
* gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests
|
||||
into the new tests.
|
||||
|
||||
2017-05-10 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* testsuite/gas/mips/mips16e-sub.d: Correct test name.
|
||||
|
4
gas/testsuite/gas/mips/isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: isa-override-2.l
|
@ -1875,7 +1875,7 @@ if { [istarget mips*-*-vxworks*] } {
|
||||
run_dump_test "option-pic-relax-5"
|
||||
|
||||
run_dump_test_arches "isa-override-1" "" [mips_arch_list_matching mips1]
|
||||
run_list_test_arches "isa-override-2" "-32" [mips_arch_list_matching mips1]
|
||||
run_dump_test_arches "isa-override-2" "" [mips_arch_list_matching mips1]
|
||||
|
||||
run_dump_test "debug-label-end-1"
|
||||
run_dump_test "debug-label-end-2"
|
||||
|
4
gas/testsuite/gas/mips/mips1@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/mips1@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: mips1@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/mips2@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/mips2@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: mips2@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/mips32@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/mips32@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: mips32@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/mips32r2@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/mips32r2@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: mips32r2@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/mips32r3@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/mips32r3@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: mips32r3@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/mips32r5@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/mips32r5@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: mips32r5@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/mips32r6@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/mips32r6@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: mips32r6@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/octeon3@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/octeon3@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: octeon3@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/r3000@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/r3000@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: mips1@isa-override-2.l
|
@ -1,4 +0,0 @@
|
||||
.*: Assembler messages:
|
||||
.*:5: Error: opcode not supported on this processor: mips1 \(mips1\) `dli \$2,0x9000000080000000'
|
||||
.*:10: Error: opcode not supported on this processor: mips1 \(mips1\) `dli \$2,0x9000000080000000'
|
||||
.*:13: Error: opcode not supported on this processor: mips1 \(mips1\) `dli \$2,0x9000000080000000'
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
4
gas/testsuite/gas/mips/r3900@isa-override-2.d
Normal file
4
gas/testsuite/gas/mips/r3900@isa-override-2.d
Normal file
@ -0,0 +1,4 @@
|
||||
#name: MIPS ISA override code generation 2
|
||||
#as: -32
|
||||
#source: isa-override-2.s
|
||||
#error-output: r3900@isa-override-2.l
|
@ -1,18 +0,0 @@
|
||||
.text
|
||||
.globl foo
|
||||
.ent foo
|
||||
foo:
|
||||
dli $2, 0x9000000080000000
|
||||
.set push
|
||||
.set mips3
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips0
|
||||
dli $2, 0x9000000080000000
|
||||
.set mips3
|
||||
.set pop
|
||||
dli $2, 0x9000000080000000
|
||||
.end foo
|
||||
|
||||
# Force some (non-delay-slot) zero bytes, to make 'objdump' print ...
|
||||
.align 4, 0
|
||||
.space 16
|
Loading…
Reference in New Issue
Block a user