blob: 8ac1b506676c233aa79ad4774843c8835280c80b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#
# Some generic MIPS tests
#
if [istarget mips*-*-*] then {
set svr4pic [expr [istarget *-*-elf*] || [istarget *-*-irix5*] ]
set empic [expr [istarget *-*-ecoff*] || [istarget *-*-ultrix*] || [istarget *-*-irix\[1-4\]*] ]
set aout [expr [istarget *-*-bsd*] || [istarget *-*-netbsd*] || [istarget *-*-openbsd*] ]
run_dump_test "abs"
run_dump_test "add"
run_dump_test "and"
run_dump_test "beq"
run_dump_test "bge"
run_dump_test "bgeu"
run_dump_test "blt"
run_dump_test "bltu"
run_dump_test "div"
run_dump_test "jal"
if $svr4pic { run_dump_test "jal-svr4pic" }
if $svr4pic { run_dump_test "jal-xgot" }
if $empic { run_dump_test "jal-empic" }
if !$aout { run_dump_test "la" }
if $svr4pic { run_dump_test "la-svr4pic" }
if $svr4pic { run_dump_test "la-xgot" }
if $empic { run_dump_test "la-empic" }
if !$aout { run_dump_test "lb" }
if $svr4pic { run_dump_test "lb-svr4pic" }
if $svr4pic { run_dump_test "lb-xgot" }
if $empic { run_dump_test "lb-empic" }
if !$aout { run_dump_test "ld" }
if $svr4pic { run_dump_test "ld-svr4pic" }
if $svr4pic { run_dump_test "ld-xgot" }
if $empic { run_dump_test "ld-empic" }
run_dump_test "li"
if !$aout { run_dump_test "lifloat" }
if $svr4pic { run_dump_test "lif-svr4pic" }
if $svr4pic { run_dump_test "lif-xgot" }
if $empic { run_dump_test "lif-empic" }
run_dump_test "mips4"
run_dump_test "mul"
run_dump_test "rol"
if !$aout { run_dump_test "sb" }
run_dump_test "trunc"
if !$aout { run_dump_test "ulh" }
if $svr4pic { run_dump_test "ulh-svr4pic" }
if $svr4pic { run_dump_test "ulh-xgot" }
if $empic { run_dump_test "ulh-empic" }
if !$aout {
run_dump_test "ulw"
run_dump_test "uld"
run_dump_test "ush"
run_dump_test "usw"
run_dump_test "usd"
}
}
|