summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/mips.exp
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2007-10-08 16:09:35 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2007-10-08 16:09:35 +0000
commit50361b7b63eb26cf000cd6310894af7243f136fa (patch)
tree2f30dfeaa5e12133d4dcead146da09d1f34eba64 /gas/testsuite/gas/mips/mips.exp
parentb124d7b87090d610e3f15c4b7190c850badab828 (diff)
downloadbinutils-redhat-50361b7b63eb26cf000cd6310894af7243f136fa.tar.gz
gas/:
* config/tc-mips.c (AT): Rename to... (ATREG): ... this. (AT): New definition. (mips_set_options): Rename "noat" to "at"; change the type. (mips_opts): Update accordingly. (append_insn): Likewise. (macro_build_ldst_constoffset): Likewise. (load_address): Likewise. (macro, macro2): Likewise. (s_mipsset): Handle ".set at=REG". Update handling of ".set at" and ".set noat". gas/testsuite/: * gas/mips/at-1.d, gas/mips/at-2.l: New tests to check the ".set at=REG" directive. * gas/mips/at-1.s, gas/mips/at-2.s: Sources for the new tests. * gas/mips/mips.exp: Run the new tests.
Diffstat (limited to 'gas/testsuite/gas/mips/mips.exp')
-rw-r--r--gas/testsuite/gas/mips/mips.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index 7291197f9d..344e62b7e0 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -749,6 +749,9 @@ if { [istarget mips*-*-vxworks*] } {
run_list_test "noat-6" ""
run_list_test "noat-7" ""
+ run_dump_test "at-1"
+ run_list_test "at-2" "-32 -mips1" "MIPS at-2"
+
run_dump_test_arches "smartmips" [mips_arch_list_matching mips32 !gpr64]
run_dump_test_arches "mips32-dsp" [mips_arch_list_matching mips32r2]
run_dump_test_arches "mips32-dspr2" [mips_arch_list_matching mips32r2]