From 4764e0cfc4fba48e3b6576265cfec7288aa82d8a Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 19 Nov 1998 16:06:02 +0000 Subject: [PATCH] * gas/mips/sync.[sd]: New testcase. * gas/mips/mips.exp: Run it. pr 18302 --- gas/testsuite/ChangeLog | 6 +++++- gas/testsuite/gas/mips/.Sanitize | 2 ++ gas/testsuite/gas/mips/sync.d | 10 ++++++++++ gas/testsuite/gas/mips/sync.s | 5 +++++ 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 gas/testsuite/gas/mips/sync.d create mode 100644 gas/testsuite/gas/mips/sync.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 75b8c2b6e39..91b34f951c4 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 19 07:50:44 1998 Doug Evans + + * gas/mips/sync.[sd]: New testcase. + * gas/mips/mips.exp: Run it. + Wed Nov 18 11:27:56 1998 Dave Brolley * gas/fr30/allinsn.s (dmov): Correct hex literals. @@ -9,7 +14,6 @@ Tue Nov 17 15:24:20 1998 Nick Clifton * gas/fr30/allinsn.d: Added disassembly of currently assembliable opcodes. - Mon Nov 16 16:50:27 1998 Nick Clifton diff --git a/gas/testsuite/gas/mips/.Sanitize b/gas/testsuite/gas/mips/.Sanitize index b829702bfeb..badc56902d5 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 00000000000..9b50ea2f33e --- /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 0000000f[ ]*sync +0+0004 0000040f[ ]*sync.p +0+0008 0000000f[ ]*sync diff --git a/gas/testsuite/gas/mips/sync.s b/gas/testsuite/gas/mips/sync.s new file mode 100644 index 00000000000..dec0ed3e16d --- /dev/null +++ b/gas/testsuite/gas/mips/sync.s @@ -0,0 +1,5 @@ + .text +foo: + sync + sync.p + sync.l -- 2.30.2