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

Message ID c429aa02-e5a0-58cb-2670-0b1faade65c8@redhat.com
State New
Headers
Series [committed] MIPS/GAS/testsuite: Run the MT ASE test across architectures |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm fail Patch failed to apply
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 fail Patch failed to apply

Commit Message

Maciej W. Rozycki July 19, 2024, 6:06 p.m. UTC
  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
  

Patch

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