]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/z8k/z8k.exp
This commit was generated by cvs2svn to track changes on a CVS vendor
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / z8k / z8k.exp
1
2 if [istarget z8k-*-*] then {
3
4 # EI/DI test
5
6 gas_test "eidi.s" "" "" "EI/DI operands"
7 gas_test_error "eidif.s" "" "EI/DI operands"
8
9 # pcrel range test
10
11 gas_test_error "jr-forwf.s" "" "relative jump out of range (jr)"
12 gas_test_error "jr-backf.s" "" "relative jump out of range (jr)"
13 gas_test_error "djnz-backf.s" "" "relative jump out of range (djnz)"
14 gas_test_error "djnz-backf2.s" "" "relative jump out of range (djnz)"
15 gas_test_error "calr-forwf.s" "" "relative jump out of range (calr)"
16 gas_test_error "calr-backf.s" "" "relative jump out of range (calr)"
17
18 # 4 bit argument tests
19
20 gas_test_error "incf.s" "" "immediate 4bit value out of range"
21 gas_test_error "decf.s" "" "immediate 4bit value out of range"
22 gas_test_error "incbf.s" "" "immediate 4bit value out of range"
23 gas_test_error "decbf.s" "" "immediate 4bit value out of range"
24 gas_test_error "ldkf.s" "" "immediate 4bit value out of range"
25 gas_test "inc.s" "" "" "immediate 4bit value"
26 gas_test "dec.s" "" "" "immediate 4bit value"
27 gas_test "ldk.s" "" "" "immediate 4bit value"
28
29 # in/out opcodes test
30
31 run_dump_test "inout"
32
33 # pcrel tests
34
35 run_dump_test "jr-forw"
36 run_dump_test "jr-back"
37 run_dump_test "djnz"
38 run_dump_test "calr"
39
40 # condition code tests
41
42 run_dump_test "jmp-cc"
43 run_dump_test "ret-cc"
44
45 # ctrl names test
46
47 run_dump_test "ctrl-names"
48 }