aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/alpha/alpha.exp1
-rw-r--r--gas/testsuite/gas/alpha/unop.d12
-rw-r--r--gas/testsuite/gas/alpha/unop.s4
4 files changed, 22 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8484a9f..6c40fb7 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-22 Richard Henderson <rth@redhat.com>
+
+ * gas/alpha/unop.s, gas/alpha/unop.d: New test.
+ * gas/alpha/alpha.exp: Run it.
+
2002-01-21 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
* gas/cris/cris.exp: Comment typo fix
diff --git a/gas/testsuite/gas/alpha/alpha.exp b/gas/testsuite/gas/alpha/alpha.exp
index 4bc54f4..db16022 100644
--- a/gas/testsuite/gas/alpha/alpha.exp
+++ b/gas/testsuite/gas/alpha/alpha.exp
@@ -30,4 +30,5 @@ if { [istarget alpha*-*-*] } then {
}
run_dump_test "fp"
+ run_dump_test "unop"
}
diff --git a/gas/testsuite/gas/alpha/unop.d b/gas/testsuite/gas/alpha/unop.d
new file mode 100644
index 0000000..be88059
--- /dev/null
+++ b/gas/testsuite/gas/alpha/unop.d
@@ -0,0 +1,12 @@
+#objdump: -d
+#name: alpha unop disassembly
+
+.*: file format .*
+
+Disassembly of section .text:
+
+0*0000000 <.text>:
+ 0: 00 00 fe 2f unop
+ 4: 00 00 e0 2f unop
+ 8: 00 00 fe 2f unop
+ c: 00 00 ff 2f unop
diff --git a/gas/testsuite/gas/alpha/unop.s b/gas/testsuite/gas/alpha/unop.s
new file mode 100644
index 0000000..2eb4a59
--- /dev/null
+++ b/gas/testsuite/gas/alpha/unop.s
@@ -0,0 +1,4 @@
+ unop
+ ldq_u $31,0($0)
+ ldq_u $31,0($30)
+ ldq_u $31,0($31)