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