Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # |
2 | # Some ARM tests | |
3 | # | |
077b8428 | 4 | if {[istarget *arm*-*-*] || [istarget "xscale-*-*"]} then { |
252b5132 RH |
5 | run_dump_test "inst" |
6 | ||
7 | gas_test "arm3.s" "" $stdoptlist "Arm 3 instructions" | |
8 | ||
9 | gas_test "arm6.s" "" $stdoptlist "Arm 6 instructions" | |
ca6489f9 | 10 | gas_test_error "msr-bad.s" "" "MSR with bad immediate operand" |
252b5132 RH |
11 | |
12 | gas_test "arm7dm.s" "" $stdoptlist "Arm 7DM instructions" | |
13 | ||
14 | run_dump_test "arm7t" | |
15 | ||
16 | gas_test "thumb.s" "" $stdoptlist "Thumb instructions" | |
17 | ||
18 | gas_test "arch4t.s" "" $stdoptlist "Arm architecture 4t instructions" | |
19 | ||
20 | gas_test "copro.s" "" $stdoptlist "Co processor instructions" | |
21 | ||
22 | gas_test "immed.s" "" $stdoptlist "immediate expressions" | |
23 | ||
24 | gas_test "float.s" "" $stdoptlist "Core floating point instructions" | |
077b8428 NC |
25 | |
26 | run_dump_test "xscale" | |
ca6489f9 PB |
27 | |
28 | run_dump_test "adrl" | |
29 | ||
30 | if {[istarget *-*-elf*] || [istarget *-*-linux*]} then { | |
31 | run_dump_test "pic" | |
32 | } | |
252b5132 RH |
33 | } |
34 | ||
35 | # Not all arm targets are bi-endian, so only run this test on ones | |
36 | # we know that are. FIXME: We should probably also key off armeb/armel. | |
37 | ||
38 | if [istarget arm-*-pe] { | |
39 | run_dump_test "le-fpconst" | |
40 | ||
41 | # Since big-endian numbers have the normal format, this doesn't exist. | |
42 | #run_dump_test "be-fpconst" | |
43 | } |