summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/arc/arc.exp
blob: 423e12f43f4d3974a1760a5834d0ef09fa7d5fd2 (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
56
57
58
59
60
61
62
63
# Copyright 2012
# 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.  

# ARC base instruction set (to arc8)
if [istarget arc*-*-*] then {
    run_dump_test ld
    run_dump_test ld2
    run_dump_test st

    # Specially encoded/single operand instructions
    run_dump_test flag
    run_dump_test brk
    run_dump_test sleep
    run_dump_test swi
    run_dump_test asr
    run_dump_test lsr
    run_dump_test ror
    run_dump_test rrc
    run_dump_test sexb
    run_dump_test sexw
    run_dump_test extb
    run_dump_test extw

    run_dump_test b
    run_dump_test bl
    run_dump_test lp
    run_dump_test j
    run_dump_test jl
    run_dump_test add
    run_dump_test asl
    # FIXME: ??? `lsl' gets dumped as `asl'
    # run_dump_test lsl
    run_dump_test adc
    run_dump_test rlc
    run_dump_test sub
    run_dump_test sbc
    run_dump_test and
    run_dump_test mov
    run_dump_test or
    run_dump_test bic
    run_dump_test xor
    run_dump_test nop
    run_dump_test extensions
}

# ARC library extensions
if [istarget arc*-*-*] then {
    # *TODO*
}