Commit | Line | Data |
---|---|---|
dfcb88ec | 1 | # Some generic SPARC and SPARC64 tests |
4430e4ad DE |
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 | ||
dfcb88ec | 8 | if [istarget sparc*-*-*] then { |
4430e4ad DE |
9 | run_dump_test "synth" |
10 | run_dump_test "splet" | |
11 | ||
dfcb88ec DE |
12 | set sparc64 [istarget sparc64*-*-*] |
13 | ||
14 | if $sparc64 { run_dump_test "asi" } | |
d4bc8076 DE |
15 | if $sparc64 { run_dump_test "membar" } |
16 | if $sparc64 { run_dump_test "prefetch" } | |
4430e4ad DE |
17 | if $sparc64 { run_dump_test "synth64" } |
18 | if $sparc64 { run_dump_test "rdpr" } | |
19 | if $sparc64 { run_dump_test "wrpr" } | |
dfcb88ec | 20 | } |