2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
[external/binutils.git] / gas / testsuite / gas / nios2 / nios2.exp
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
18 #
19 # Some generic Nios II tests
20 #
21
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"
55     run_dump_test "registers"
56     
57     run_dump_test "stw"
58     run_dump_test "sth"
59     run_dump_test "stb"
60     
61     run_dump_test "sub"
62     run_dump_test "sync"
63     run_dump_test "trap"
64     run_dump_test "tret"
65     
66     run_dump_test "custom"
67     run_dump_test "xor"
68     run_dump_test "movia"
69     
70     run_dump_test "complex"
71     run_dump_test "comments"
72     run_dump_test "etbt"
73     run_dump_test "lineseparator"
74     run_dump_test "movi"
75     
76     run_list_test "illegal" ""
77     run_list_test "warn_nobreak" ""
78     run_list_test "warn_noat" ""
79 }