aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-11-19 16:06:02 +0000
committerDoug Evans <dje@google.com>1998-11-19 16:06:02 +0000
commit4764e0cfc4fba48e3b6576265cfec7288aa82d8a (patch)
tree5df3ec56076d05f74fc2764cc4b68f45e00d8f84 /gas
parent707f2a3208da2353c30f567b9916ff2a5ca18c72 (diff)
downloadgdb-4764e0cfc4fba48e3b6576265cfec7288aa82d8a.zip
gdb-4764e0cfc4fba48e3b6576265cfec7288aa82d8a.tar.gz
gdb-4764e0cfc4fba48e3b6576265cfec7288aa82d8a.tar.bz2
* gas/mips/sync.[sd]: New testcase.
* gas/mips/mips.exp: Run it. pr 18302
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/mips/.Sanitize2
-rw-r--r--gas/testsuite/gas/mips/sync.d10
-rw-r--r--gas/testsuite/gas/mips/sync.s5
4 files changed, 22 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 75b8c2b..91b34f9 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 19 07:50:44 1998 Doug Evans <devans@charmed.cygnus.com>
+
+ * gas/mips/sync.[sd]: New testcase.
+ * gas/mips/mips.exp: Run it.
+
Wed Nov 18 11:27:56 1998 Dave Brolley <brolley@cygnus.com>
* gas/fr30/allinsn.s (dmov): Correct hex literals.
@@ -9,7 +14,6 @@ Tue Nov 17 15:24:20 1998 Nick Clifton <nickc@cygnus.com>
* gas/fr30/allinsn.d: Added disassembly of currently assembliable
opcodes.
-
Mon Nov 16 16:50:27 1998 Nick Clifton <nickc@cygnus.com>
diff --git a/gas/testsuite/gas/mips/.Sanitize b/gas/testsuite/gas/mips/.Sanitize
index b829702..badc569 100644
--- a/gas/testsuite/gas/mips/.Sanitize
+++ b/gas/testsuite/gas/mips/.Sanitize
@@ -153,6 +153,8 @@ rol.d
rol.s
sb.d
sb.s
+sync.d
+sync.s
trap20.d
trap20.s
trunc.d
diff --git a/gas/testsuite/gas/mips/sync.d b/gas/testsuite/gas/mips/sync.d
new file mode 100644
index 0000000..9b50ea2
--- /dev/null
+++ b/gas/testsuite/gas/mips/sync.d
@@ -0,0 +1,10 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: sync instructions
+#as:
+
+.*: +file format .*mips.*
+
+Disassembly of section \.text:
+0+0000 <foo> 0000000f[ ]*sync
+0+0004 <foo\+0x4> 0000040f[ ]*sync.p
+0+0008 <foo\+0x8> 0000000f[ ]*sync
diff --git a/gas/testsuite/gas/mips/sync.s b/gas/testsuite/gas/mips/sync.s
new file mode 100644
index 0000000..dec0ed3
--- /dev/null
+++ b/gas/testsuite/gas/mips/sync.s
@@ -0,0 +1,5 @@
+ .text
+foo:
+ sync
+ sync.p
+ sync.l