Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # Some generic SPARC and SPARC64 tests |
2 | ||
3 | # FIXME: The tests here aren't really bullet proof. A mistake in the opcode | |
4 | # table can slip through since we use the same table for assembly and | |
5 | # disassembly. The way to fix this is to include a hex dump of the insns | |
6 | # and test that as well. Later. | |
7 | ||
8 | if [istarget sparc*-*-*] { | |
9 | run_dump_test "synth" | |
10 | } | |
11 | ||
12 | ||
13 | if [istarget sparc64*-*-*] { | |
14 | run_dump_test "asi" | |
15 | run_dump_test "membar" | |
16 | run_dump_test "prefetch" | |
17 | run_dump_test "set64" | |
18 | run_dump_test "synth64" | |
19 | run_dump_test "rdpr" | |
20 | run_dump_test "wrpr" | |
21 | run_dump_test "reloc64" | |
22 | } | |
23 | ||
24 | if [istarget sparclet*-*-*] { | |
25 | run_dump_test "splet" | |
26 | run_dump_test "splet-2" | |
27 | } |