summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/tic54x/tic54x.exp
blob: aca18d5bc2605054c1c23ba99e001799f8b6ac16 (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
# Copyright (C) 2012-2014 Free Software Foundation, Inc.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  

#
# TI TMS320C54X tests.
#
if [istarget *c54x*-*-*] then {
    run_dump_test "address"
    run_dump_test "addrfar"
    run_dump_test "align"
    run_dump_test "asg"
    run_dump_test "cons"
    run_dump_test "consfar"
    run_dump_test "extaddr"
    run_dump_test "field"
    run_dump_test "labels"
    run_dump_test "loop"
    run_dump_test "lp"
    run_dump_test "macro"
    run_dump_test "math"
    run_dump_test "opcodes"
    run_dump_test "sections"
    run_dump_test "set"
    run_dump_test "struct"
    run_dump_test "subsym"

    gas_test_error "macro1.s" "" "c54x macro argument manipulation"
    gas_test_error "subsym1.s" "" "c54x subsym recursion"

    # The longest one, run it last
    run_dump_test "all-opcodes"
}