mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
MIPS/GAS/testsuite: Run RFE test across all ISAs
Verify that the RFE instruction is not only accepted where supported, but rejected where it is not as well. gas/ * testsuite/gas/mips/mips.exp: Run RFE test across all ISAs. * testsuite/gas/mips/rfe.d: Update for ISA exclusions. * testsuite/gas/mips/mips1@rfe.d: New test. * testsuite/gas/mips/mips2@rfe.d: New test. * testsuite/gas/mips/r3000@rfe.d: New test. * testsuite/gas/mips/r3900@rfe.d: New test. * testsuite/gas/mips/rfe.l: New test stderr output.
This commit is contained in:
parent
2d5e2889ca
commit
4c67fb41f9
@ -1,3 +1,13 @@
|
||||
2021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
|
||||
|
||||
* testsuite/gas/mips/mips.exp: Run RFE test across all ISAs.
|
||||
* testsuite/gas/mips/rfe.d: Update for ISA exclusions.
|
||||
* testsuite/gas/mips/mips1@rfe.d: New test.
|
||||
* testsuite/gas/mips/mips2@rfe.d: New test.
|
||||
* testsuite/gas/mips/r3000@rfe.d: New test.
|
||||
* testsuite/gas/mips/r3900@rfe.d: New test.
|
||||
* testsuite/gas/mips/rfe.l: New test stderr output.
|
||||
|
||||
2021-05-29 Maciej W. Rozycki <macro@orcam.me.uk>
|
||||
|
||||
* testsuite/gas/mips/mips.exp: Run coprocessor tests across all
|
||||
|
@ -1343,7 +1343,7 @@ if { [istarget mips*-*-vxworks*] } {
|
||||
!micromips]
|
||||
|
||||
run_dump_test_arches "rfe" [mips_arch_list_matching mips1 \
|
||||
!mips3 !mips32 !micromips]
|
||||
!micromips]
|
||||
|
||||
run_dump_test "cp1-names-numeric"
|
||||
run_dump_test "cp1-names-r3000"
|
||||
|
10
gas/testsuite/gas/mips/mips1@rfe.d
Normal file
10
gas/testsuite/gas/mips/mips1@rfe.d
Normal file
@ -0,0 +1,10 @@
|
||||
#objdump: -d --prefix-addresses --show-raw-insn
|
||||
#name: MIPS RFE instruction
|
||||
#as: -32
|
||||
#source: rfe.s
|
||||
|
||||
.*: +file format .*mips.*
|
||||
|
||||
Disassembly of section \.text:
|
||||
[0-9a-f]+ <[^>]*> 42000010 rfe
|
||||
\.\.\.
|
5
gas/testsuite/gas/mips/mips2@rfe.d
Normal file
5
gas/testsuite/gas/mips/mips2@rfe.d
Normal file
@ -0,0 +1,5 @@
|
||||
#objdump: -d --prefix-addresses --show-raw-insn
|
||||
#name: MIPS RFE instruction
|
||||
#as: -32
|
||||
#source: rfe.s
|
||||
#dump: mips1@rfe.d
|
5
gas/testsuite/gas/mips/r3000@rfe.d
Normal file
5
gas/testsuite/gas/mips/r3000@rfe.d
Normal file
@ -0,0 +1,5 @@
|
||||
#objdump: -d --prefix-addresses --show-raw-insn
|
||||
#name: MIPS RFE instruction
|
||||
#as: -32
|
||||
#source: rfe.s
|
||||
#dump: mips1@rfe.d
|
5
gas/testsuite/gas/mips/r3900@rfe.d
Normal file
5
gas/testsuite/gas/mips/r3900@rfe.d
Normal file
@ -0,0 +1,5 @@
|
||||
#objdump: -d --prefix-addresses --show-raw-insn
|
||||
#name: MIPS RFE instruction
|
||||
#as: -32
|
||||
#source: rfe.s
|
||||
#dump: mips1@rfe.d
|
@ -1,9 +1,4 @@
|
||||
#objdump: -d --prefix-addresses --show-raw-insn
|
||||
#name: MIPS RFE instruction
|
||||
#as: -32
|
||||
|
||||
.*: +file format .*mips.*
|
||||
|
||||
Disassembly of section \.text:
|
||||
[0-9a-f]+ <[^>]*> 42000010 rfe
|
||||
\.\.\.
|
||||
#error_output: rfe.l
|
||||
|
2
gas/testsuite/gas/mips/rfe.l
Normal file
2
gas/testsuite/gas/mips/rfe.l
Normal file
@ -0,0 +1,2 @@
|
||||
.*: Assembler messages:
|
||||
.*:4: Error: opcode not supported on this processor: .* \(.*\) `rfe'
|
Loading…
Reference in New Issue
Block a user