aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2011-08-10 22:28:41 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2011-08-10 22:28:41 +0000
commit8d367dd5c002078d3b361ec302a11c705bc83cf7 (patch)
treef996d61d5247289c5d7b562e2d23e5cbabec73b0 /gas/testsuite
parentafd2ddc1214cb63a97a7c6fed84194a4194e01c0 (diff)
downloadgdb-8d367dd5c002078d3b361ec302a11c705bc83cf7.zip
gdb-8d367dd5c002078d3b361ec302a11c705bc83cf7.tar.gz
gdb-8d367dd5c002078d3b361ec302a11c705bc83cf7.tar.bz2
* gas/mips/mips.exp: Define new "fpisa3", "fpisa4" and "fpisa5"
architecture properties adding them to "mips3", "mips4", "mips5" and "mips32r2" architectures. Use the new properties for the "24k-triple-stores-1", "24k-triple-stores-3", "mips4-fp", "mips5" and "alnv_ps-swap" tests.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog8
-rw-r--r--gas/testsuite/gas/mips/mips.exp26
2 files changed, 22 insertions, 12 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 4526e2f..d447a65 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2011-08-10 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * gas/mips/mips.exp: Define new "fpisa3", "fpisa4" and "fpisa5"
+ architecture properties adding them to "mips3", "mips4", "mips5"
+ and "mips32r2" architectures. Use the new properties for the
+ "24k-triple-stores-1", "24k-triple-stores-3", "mips4-fp",
+ "mips5" and "alnv_ps-swap" tests.
+
2011-08-09 Maciej W. Rozycki <macro@codesourcery.com>
Chao-ying Fu <fu@mips.com>
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index 63c2666..4512518 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -55,6 +55,10 @@
# The architecture includes the instructions defined
# by that MIPS ISA.
#
+# fpisa3, fpisa4, fpisa5
+# The architecture includes the floating-point
+# instructions defined by that MIPS ISA.
+#
# gpr_ilocks
# The architecture interlocks GPRs accesses. (That is,
# there are no load delay slots.)
@@ -369,16 +373,16 @@ mips_arch_create mips1 32 {} {} \
{ -march=mips1 -mtune=mips1 } { -mmips:3000 }
mips_arch_create mips2 32 mips1 { gpr_ilocks } \
{ -march=mips2 -mtune=mips2 } { -mmips:6000 }
-mips_arch_create mips3 64 mips2 {} \
+mips_arch_create mips3 64 mips2 { fpisa3 } \
{ -march=mips3 -mtune=mips3 } { -mmips:4000 }
-mips_arch_create mips4 64 mips3 {} \
+mips_arch_create mips4 64 mips3 { fpisa4 } \
{ -march=mips4 -mtune=mips4 } { -mmips:8000 }
-mips_arch_create mips5 64 mips4 {} \
+mips_arch_create mips5 64 mips4 { fpisa5 } \
{ -march=mips5 -mtune=mips5 } { -mmips:mips5 }
mips_arch_create mips32 32 mips2 {} \
{ -march=mips32 -mtune=mips32 } { -mmips:isa32 } \
{ mipsisa32-*-* mipsisa32el-*-* }
-mips_arch_create mips32r2 32 mips32 { ror } \
+mips_arch_create mips32r2 32 mips32 { fpisa3 fpisa4 fpisa5 ror } \
{ -march=mips32r2 -mtune=mips32r2 } \
{ -mmips:isa32r2 } \
{ mipsisa32r2-*-* mipsisa32r2el-*-* }
@@ -492,11 +496,11 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test_arches "24k-branch-delay-1" \
[mips_arch_list_matching mips1 !micromips]
run_dump_test_arches "24k-triple-stores-1" \
- [mips_arch_list_matching mips32r2 !octeon !micromips]
+ [mips_arch_list_matching fpisa5 !octeon !micromips]
run_dump_test_arches "24k-triple-stores-2" \
[mips_arch_list_matching mips2 !micromips]
run_dump_test_arches "24k-triple-stores-3" \
- [mips_arch_list_matching mips3 !micromips]
+ [mips_arch_list_matching mips2 !micromips]
run_dump_test_arches "24k-triple-stores-4" \
[mips_arch_list_matching mips2 !micromips]
run_dump_test_arches "24k-triple-stores-5" \
@@ -623,14 +627,14 @@ if { [istarget mips*-*-vxworks*] } {
if $elf { run_dump_test "lif-svr4pic" }
if $elf { run_dump_test "lif-xgot" }
run_dump_test_arches "mips4" [mips_arch_list_matching mips4]
- run_dump_test_arches "mips4-fp" [mips_arch_list_matching mips4]
+ run_dump_test_arches "mips4-fp" [mips_arch_list_matching fpisa4]
run_list_test_arches "mips4-fp" "-32 -msoft-float" \
- [mips_arch_list_matching mips4]
+ [mips_arch_list_matching fpisa4]
run_dump_test_arches "mips4-branch-likely" \
[mips_arch_list_matching mips4]
run_list_test_arches "mips4-branch-likely" "-32 -msoft-float" \
[mips_arch_list_matching mips4]
- run_dump_test_arches "mips5" [mips_arch_list_matching mips5]
+ run_dump_test_arches "mips5" [mips_arch_list_matching fpisa5]
run_dump_test "mul"
run_dump_test_arches "rol" [mips_arch_list_matching mips1 !ror]
@@ -1026,9 +1030,7 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test "mips32-sync"
run_dump_test_arches "mips32r2-sync" \
[mips_arch_list_matching mips32r2]
- run_dump_test_arches "alnv_ps-swap" [lsort -dictionary -unique [concat \
- [mips_arch_list_matching mips5] \
- [mips_arch_list_matching mips32r2] ] ]
+ run_dump_test_arches "alnv_ps-swap" [mips_arch_list_matching fpisa5]
run_dump_test_arches "cache" [lsort -dictionary -unique [concat \
[mips_arch_list_matching mips3] \
[mips_arch_list_matching mips32] ] ]