run_dump_test "div"
- if { !$addr32 } {
+ if { !$addr32 && $has_newabi } {
run_dump_test_arches "dli" [mips_arch_list_matching mips3]
}
run_dump_test_arches "jal" [mips_arch_list_matching mips1]
run_dump_test "eret-1"
run_dump_test "eret-2"
run_dump_test "eret-3"
- run_dump_test_arches "fix-rm7000-1" \
+ if { $has_newabi } {
+ run_dump_test_arches "fix-rm7000-1" \
[mips_arch_list_matching mips3 !singlefloat \
!mips64r6]
+ }
run_dump_test_arches "fix-rm7000-2" \
[mips_arch_list_matching mips3 !singlefloat \
!mips64r6]
run_dump_test_arches "uld2-el" [mips_arch_list_matching mips3 !mips32r6]
run_dump_test "mips16"
- run_dump_test "mips16-64"
+ if { $has_newabi } {
+ run_dump_test "mips16-64"
+ }
run_dump_test "mips16-macro"
# Check MIPS16e extensions
run_dump_test_arches "mips16e" [mips_arch_list_matching mips32 !micromips \
run_dump_test "sync"
run_dump_test_arches "virt" [mips_arch_list_matching mips32r2]
- run_dump_test_arches "virt64" [mips_arch_list_matching mips64r2]
+ if { $has_newabi } {
+ run_dump_test_arches "virt64" [mips_arch_list_matching mips64r2]
+ }
run_dump_test_arches "mips32" [mips_arch_list_matching mips32]
run_dump_test_arches "mips32-imm" [mips_arch_list_matching mips32]
if { !$addr32 } {
run_dump_test "mips64-mips3d"
- run_dump_test_arches "mips64-mips3d-incl" [mips_arch_list_matching mips3d]
+ if { $has_newabi } {
+ run_dump_test_arches "mips64-mips3d-incl" \
+ [mips_arch_list_matching mips3d]
+ }
run_dump_test "mips64-mdmx"
- run_dump_test "sb1-ext-mdmx"
- run_dump_test "sb1-ext-ps"
+ if { $has_newabi } {
+ run_dump_test "sb1-ext-mdmx"
+ run_dump_test "sb1-ext-ps"
+ }
run_dump_test "xlr-ext"
}
run_dump_test "loongson-3a-2"
run_dump_test "loongson-3a-3"
- run_dump_test_arches "octeon" [mips_arch_list_matching octeon]
+ if { $has_newabi } {
+ run_dump_test_arches "octeon" [mips_arch_list_matching octeon]
+ }
run_dump_test_arches "octeon-saa-saad" [mips_arch_list_matching octeonp]
run_list_test_arches "octeon-ill" [mips_arch_list_matching octeon]
- run_dump_test_arches "octeon-pref" [mips_arch_list_matching octeon]
+ if { $has_newabi } {
+ run_dump_test_arches "octeon-pref" \
+ [mips_arch_list_matching octeon]
+ }
run_dump_test_arches "octeon2" [mips_arch_list_matching octeon2]
run_dump_test_arches "octeon3" [mips_arch_list_matching octeon3]
run_list_test "bltzal"
run_dump_test_arches "msa" [mips_arch_list_matching mips32r2]
- run_dump_test_arches "msa64" [mips_arch_list_matching mips64r2]
+ if { $has_newabi } {
+ run_dump_test_arches "msa64" [mips_arch_list_matching mips64r2]
+ }
run_dump_test_arches "msa-relax" [mips_arch_list_matching mips32r2 !mips32r6]
run_dump_test_arches "msa-branch" [mips_arch_list_matching mips32r2]
run_dump_test_arches "attr-gnu-4-0" "-32" \
[mips_arch_list_matching mips1]
- run_dump_test_arches "attr-gnu-4-0" "-64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-gnu-4-0" "-64" \
[mips_arch_list_matching mips3]
+ }
run_dump_test_arches "attr-gnu-4-0" "-mfp32 -32" \
[mips_arch_list_matching mips1 !mips32r6]
run_dump_test_arches "attr-gnu-4-0" "-mfpxx -32" \
[mips_arch_list_matching mips32r2]
run_dump_test_arches "attr-gnu-4-0" "-mfp64 -mno-odd-spreg -32" \
[mips_arch_list_matching mips32r2]
- run_dump_test_arches "attr-gnu-4-0" "-mfp64 -64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-gnu-4-0" "-mfp64 -64" \
[mips_arch_list_matching mips3]
+ }
run_dump_test_arches "attr-gnu-4-0" "-msingle-float -32" \
[mips_arch_list_matching mips1]
- run_dump_test_arches "attr-gnu-4-0" "-msingle-float -64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-gnu-4-0" "-msingle-float -64" \
[mips_arch_list_matching mips3]
+ }
run_dump_test_arches "attr-gnu-4-0" "-msoft-float -32" \
[mips_arch_list_matching mips1]
- run_dump_test_arches "attr-gnu-4-0" "-msoft-float -64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-gnu-4-0" "-msoft-float -64" \
[mips_arch_list_matching mips3]
+ }
run_dump_test_arches "attr-none-double" "-32" \
[mips_arch_list_matching mips1 !mips32r6]
run_dump_test_arches "r6-attr-none-double" "-32" \
[mips_arch_list_matching mips32r6]
- run_dump_test_arches "attr-none-double" "-64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-none-double" "-64" \
[mips_arch_list_matching mips3]
+ }
run_dump_test_arches "attr-none-o32-fpxx" \
[mips_arch_list_matching mips2 !r5900]
run_dump_test_arches "attr-none-o32-fp64" \
[mips_arch_list_matching mips32r2]
run_dump_test_arches "attr-none-single-float" "-32" \
[mips_arch_list_matching mips1]
- run_dump_test_arches "attr-none-single-float" "-64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-none-single-float" "-64" \
[mips_arch_list_matching mips3]
+ }
run_dump_test_arches "attr-none-soft-float" "-32 -msoft-float" \
[mips_arch_list_matching mips1]
- run_dump_test_arches "attr-none-soft-float" "-64 -msoft-float" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-none-soft-float" "-64 -msoft-float" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-1-mfp64" \
"-32 -mfp64 -mno-odd-spreg" \
[mips_arch_list_matching mips32r2]
run_list_test_arches "attr-gnu-4-1-mfp64" "-32 -mfp64" \
[mips_arch_list_matching mips32r2]
- run_list_test_arches "attr-gnu-4-1-mfp32" "-64 -mfp32" \
+ if { $has_newabi } {
+ run_list_test_arches "attr-gnu-4-1-mfp32" "-64 -mfp32" \
[mips_arch_list_matching mips3 !mips64r6]
+ }
run_list_test_arches "attr-gnu-4-1-msingle-float" "-32 -msingle-float" \
[mips_arch_list_matching mips1]
run_list_test_arches "attr-gnu-4-1-msoft-float" "-32 -msoft-float" \
[mips_arch_list_matching mips2 !r5900]
run_dump_test_arches "attr-gnu-4-1" "-32 -mfp32" \
[mips_arch_list_matching mips1 !mips32r6]
- run_dump_test_arches "attr-gnu-4-1" "-64 -mfp64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-gnu-4-1" "-64 -mfp64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-2-mdouble-float" "-32 -mfp32" \
[mips_arch_list_matching mips1 !mips32r6]
run_list_test_arches "attr-gnu-4-2-mdouble-float" \
"-32 -mfp64 -mno-odd-spreg" \
[mips_arch_list_matching mips32r2]
- run_list_test_arches "attr-gnu-4-2-mdouble-float" "-64 -mfp64" \
+ if { $has_newabi } {
+ run_list_test_arches "attr-gnu-4-2-mdouble-float" "-64 -mfp64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-2-msoft-float" "-32 -msoft-float" \
[mips_arch_list_matching mips1]
run_dump_test_arches "attr-gnu-4-2" "-32" \
[mips_arch_list_matching mips1]
- run_dump_test_arches "attr-gnu-4-2" "-64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-gnu-4-2" "-64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-3-mhard-float" "-32 -mfp32" \
[mips_arch_list_matching mips1 !mips32r6]
run_list_test_arches "attr-gnu-4-3-mhard-float" \
"-32 -mfp64 -mno-odd-spreg" \
[mips_arch_list_matching mips32r2]
- run_list_test_arches "attr-gnu-4-3-mhard-float" "-64 -mfp64" \
+ if { $has_newabi } {
+ run_list_test_arches "attr-gnu-4-3-mhard-float" "-64 -mfp64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-3-mhard-float" "-32 -msingle-float" \
[mips_arch_list_matching mips1]
run_dump_test_arches "attr-gnu-4-3" "-32" \
[mips_arch_list_matching mips1]
- run_dump_test_arches "attr-gnu-4-3" "-64" \
+ if { $has_newabi } {
+ run_dump_test_arches "attr-gnu-4-3" "-64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-4" "-32 -mfp32" \
[mips_arch_list_matching mips1 !mips32r6]
[mips_arch_list_matching mips32r2]
run_list_test_arches "attr-gnu-4-4" "-32 -mfp64 -mno-odd-spreg" \
[mips_arch_list_matching mips32r2]
- run_list_test_arches "attr-gnu-4-4" "-64 -mfp64" \
+ if { $has_newabi } {
+ run_list_test_arches "attr-gnu-4-4" "-64 -mfp64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-4" "-32 -msingle-float" \
[mips_arch_list_matching mips1]
run_list_test_arches "attr-gnu-4-4" "-32 -msoft-float" \
[mips_arch_list_matching mips32r2]
run_list_test_arches "attr-gnu-4-5" "-32 -mfp64 -mno-odd-spreg" \
[mips_arch_list_matching mips32r2]
- run_list_test_arches "attr-gnu-4-5-64" "-64 -mfp64" \
+ if { $has_newabi } {
+ run_list_test_arches "attr-gnu-4-5-64" "-64 -mfp64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-5-msingle-float" "-32 -msingle-float" \
[mips_arch_list_matching mips1]
run_list_test_arches "attr-gnu-4-5-msoft-float" "-32 -msoft-float" \
[mips_arch_list_matching mips1 !mips32r6]
run_list_test_arches "attr-gnu-4-6-noodd" "-32 -mfp64 -mno-odd-spreg" \
[mips_arch_list_matching mips32r2]
- run_list_test_arches "attr-gnu-4-6-64" "-64 -mfp64" \
+ if { $has_newabi } {
+ run_list_test_arches "attr-gnu-4-6-64" "-64 -mfp64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-6-msingle-float" "-32 -msingle-float" \
[mips_arch_list_matching mips1]
run_list_test_arches "attr-gnu-4-6-msoft-float" "-32 -msoft-float" \
[mips_arch_list_matching mips1 !mips32r6]
run_list_test_arches "attr-gnu-4-7-odd" "-32 -mfp64" \
[mips_arch_list_matching mips32r2]
- run_list_test_arches "attr-gnu-4-7-64" "-64 -mfp64" \
+ if { $has_newabi } {
+ run_list_test_arches "attr-gnu-4-7-64" "-64 -mfp64" \
[mips_arch_list_matching mips3]
+ }
run_list_test_arches "attr-gnu-4-7-msingle-float" "-32 -msingle-float" \
[mips_arch_list_matching mips1]
run_list_test_arches "attr-gnu-4-7-msoft-float" "-32 -msoft-float" \