aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/testsuite/gas/sparc/sparc.exp14
1 files changed, 12 insertions, 2 deletions
diff --git a/gas/testsuite/gas/sparc/sparc.exp b/gas/testsuite/gas/sparc/sparc.exp
index 919154c..4156345 100644
--- a/gas/testsuite/gas/sparc/sparc.exp
+++ b/gas/testsuite/gas/sparc/sparc.exp
@@ -1,10 +1,20 @@
-#
# 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*-*-*] then {
+ run_dump_test "synth"
+ run_dump_test "splet"
+
set sparc64 [istarget sparc64*-*-*]
if $sparc64 { run_dump_test "asi" }
if $sparc64 { run_dump_test "membar" }
if $sparc64 { run_dump_test "prefetch" }
+ if $sparc64 { run_dump_test "synth64" }
+ if $sparc64 { run_dump_test "rdpr" }
+ if $sparc64 { run_dump_test "wrpr" }
}