summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/sparc/sparc.exp
blob: 1a793584599e2e5a8ebd1cdd111acb2fb005b70c (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
# Some generic SPARC and SPARC64 tests

# FIXME: The tests here aren't really bullet proof.  A mistake in the opcode
# table can slip through since we use the same table for assembly and
# disassembly.  The way to fix this is to include a hex dump of the insns
# and test that as well.  Later.

if [istarget sparc*-*-*] {
    run_dump_test "synth"
}


if [istarget sparc64*-*-*] {
    run_dump_test "asi"
    run_dump_test "membar"
    run_dump_test "prefetch"
    run_dump_test "set64"
    run_dump_test "synth64"
    run_dump_test "rdpr"
    run_dump_test "wrpr"
    run_dump_test "reloc64"
}

if [istarget sparclet*-*-*] {
    run_dump_test "splet"
    run_dump_test "splet-2"
}