[committed] MIPS/GAS/testsuite: Run the MT ASE test across architectures

Maciej W. Rozycki macro@redhat.com
Fri Jul 19 18:06:38 GMT 2024


Verify that MT ASE instructions assemble and disassemble correctly 
across the compatible architectures.
---
 gas/testsuite/gas/mips/mips.exp    |    3 ++-
 gas/testsuite/gas/mips/mips32-mt.d |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

binutils-mips-test-mt-arches.diff
Index: binutils-gdb/gas/testsuite/gas/mips/mips.exp
===================================================================
--- binutils-gdb.orig/gas/testsuite/gas/mips/mips.exp
+++ binutils-gdb/gas/testsuite/gas/mips/mips.exp
@@ -1492,7 +1492,8 @@ if { [istarget mips*-*-vxworks*] } {
 					    !octeon]
     run_dump_test_arches "mips32-dspr3"	[mips_arch_list_matching mips32r6]
     run_dump_test "mips64-dsp"
-    run_dump_test "mips32-mt"
+    run_dump_test_arches "mips32-mt"	[mips_arch_list_matching mips32r2 \
+						!octeon !micromips]
 
     run_dump_test_arches "save" [lsort -dictionary -unique [concat \
 				[mips_arch_list_matching mips16e-32] \
Index: binutils-gdb/gas/testsuite/gas/mips/mips32-mt.d
===================================================================
--- binutils-gdb.orig/gas/testsuite/gas/mips/mips32-mt.d
+++ binutils-gdb/gas/testsuite/gas/mips/mips32-mt.d
@@ -1,6 +1,6 @@
 #objdump: -dr --prefix-addresses --show-raw-insn -M cp0-names=mips32
 #name: MIPS MT ASE for MIPS32
-#as: -mmt -mips32r2 -32
+#as: -mmt -32
 
 # Check MIPS MT ASE for MIPS32 Instruction Assembly
 



More information about the Binutils mailing list