* gas/mips/mips.exp: Define new "fpisa3", "fpisa4" and "fpisa5"
authorMaciej W. Rozycki <macro@linux-mips.org>
Wed, 10 Aug 2011 22:28:41 +0000 (22:28 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Wed, 10 Aug 2011 22:28:41 +0000 (22:28 +0000)
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.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips.exp

index 4526e2f2b96b8a5a97a6d25898f5bd2b6a6a41b3..d447a651d1b10c4128420631ef7510cb1148971f 100644 (file)
@@ -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>
 
index 63c2666e06ea0dbcdc1284d20e55674143fbb4ed..45125182700f7074918670848e71ac4a76139077 100644 (file)
 #              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] ] ]