blob: 4f8bf7a49c78caaedecaed8338d7b735f63d6bb1 (
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
|
#
# Some ARM tests
#
if {[istarget *arm*-*-*] || [istarget "xscale-*-*"]} then {
run_dump_test "inst"
gas_test "arm3.s" "-marm3" $stdoptlist "Arm 3 instructions"
gas_test "arm6.s" "-marm6" $stdoptlist "Arm 6 instructions"
gas_test "arm7dm.s" "-marm7dm" $stdoptlist "Arm 7DM instructions"
run_dump_test "arm7t"
gas_test "thumb.s" "-marm7t" $stdoptlist "Thumb instructions"
gas_test "arch4t.s" "-marmv4t" $stdoptlist "Arm architecture 4t instructions"
gas_test "copro.s" "" $stdoptlist "Co processor instructions"
gas_test "immed.s" "" $stdoptlist "immediate expressions"
gas_test "float.s" "" $stdoptlist "Core floating point instructions"
run_dump_test "xscale"
run_dump_test "adrl"
if {[istarget *-*-elf*] || [istarget *-*-linux*]} then {
run_dump_test "pic"
}
}
# Not all arm targets are bi-endian, so only run this test on ones
# we know that are. FIXME: We should probably also key off armeb/armel.
if [istarget arm-*-pe] {
run_dump_test "le-fpconst"
# Since big-endian numbers have the normal format, this doesn't exist.
#run_dump_test "be-fpconst"
}
|