* gas/mips/sync.[sd]: New testcase.
authorDoug Evans <dje@google.com>
Thu, 19 Nov 1998 16:06:02 +0000 (16:06 +0000)
committerDoug Evans <dje@google.com>
Thu, 19 Nov 1998 16:06:02 +0000 (16:06 +0000)
* gas/mips/mips.exp: Run it.
pr 18302

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/.Sanitize
gas/testsuite/gas/mips/sync.d [new file with mode: 0644]
gas/testsuite/gas/mips/sync.s [new file with mode: 0644]

index 75b8c2b..91b34f9 100644 (file)
@@ -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>
 
index b829702..badc569 100644 (file)
@@ -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 (file)
index 0000000..9b50ea2
--- /dev/null
@@ -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 (file)
index 0000000..dec0ed3
--- /dev/null
@@ -0,0 +1,5 @@
+       .text
+foo:
+       sync
+       sync.p
+       sync.l