aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-01-22 09:45:49 +0000
committerRichard Henderson <rth@redhat.com>2002-01-22 09:45:49 +0000
commit199f4802a7ddef36ba115b4acaeee485660e1a46 (patch)
treece36118b646f135d509771695b9a7ce21b6abc66
parent98c0272052bcc9ae92d9474d8a10ac82163aabe7 (diff)
downloadgdb-199f4802a7ddef36ba115b4acaeee485660e1a46.zip
gdb-199f4802a7ddef36ba115b4acaeee485660e1a46.tar.gz
gdb-199f4802a7ddef36ba115b4acaeee485660e1a46.tar.bz2
* gas/alpha/unop.s, gas/alpha/unop.d: New test.
* gas/alpha/alpha.exp: Run it.
-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)