Commit | Line | Data |
---|---|---|
bded2dd8 AM |
1 | # Copyright 2012 |
2 | # Free Software Foundation, Inc. | |
3 | ||
4 | # This program is free software; you can redistribute it and/or modify | |
5 | # it under the terms of the GNU General Public License as published by | |
6 | # the Free Software Foundation; either version 3 of the License, or | |
7 | # (at your option) any later version. | |
8 | # | |
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. | |
13 | # | |
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. | |
17 | ||
36591ba1 SL |
18 | # |
19 | # Some generic Nios II tests | |
20 | # | |
21 | ||
36591ba1 SL |
22 | if { [istarget nios2-*-*] } then { |
23 | ||
24 | run_dump_test "add" | |
25 | run_dump_test "and" | |
26 | run_dump_test "align_fill" | |
27 | run_dump_test "align_text" | |
28 | ||
29 | run_dump_test "branch" | |
30 | ||
31 | run_dump_test "break" | |
32 | run_dump_test "bret" | |
33 | run_dump_test "cache" | |
34 | ||
35 | run_dump_test "call" | |
36 | run_dump_test "call26" | |
37 | ||
38 | run_dump_test "cmp" | |
39 | ||
40 | run_dump_test "jmp" | |
41 | run_dump_test "ldw" | |
42 | run_dump_test "ldh" | |
43 | run_dump_test "ldb" | |
44 | ||
45 | run_dump_test "flushda" | |
46 | ||
47 | run_dump_test "mul" | |
48 | ||
49 | run_dump_test "nor" | |
50 | run_dump_test "or" | |
51 | ||
52 | run_dump_test "ctl" | |
53 | run_dump_test "ret" | |
54 | run_dump_test "rotate" | |
21fde85c | 55 | run_dump_test "registers" |
f5cb796a | 56 | run_dump_test "rdprs" |
dad60f8e | 57 | run_dump_test "wrprs" |
36591ba1 SL |
58 | |
59 | run_dump_test "stw" | |
60 | run_dump_test "sth" | |
61 | run_dump_test "stb" | |
62 | ||
63 | run_dump_test "sub" | |
64 | run_dump_test "sync" | |
65 | run_dump_test "trap" | |
66 | run_dump_test "tret" | |
67 | ||
68 | run_dump_test "custom" | |
69 | run_dump_test "xor" | |
70 | run_dump_test "movia" | |
71 | ||
72 | run_dump_test "complex" | |
73 | run_dump_test "comments" | |
74 | run_dump_test "etbt" | |
75 | run_dump_test "lineseparator" | |
76 | run_dump_test "movi" | |
77 | ||
bded2dd8 AM |
78 | run_list_test "illegal" "" |
79 | run_list_test "warn_nobreak" "" | |
80 | run_list_test "warn_noat" "" | |
36591ba1 | 81 | } |