aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-03 18:10:38 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-03 18:10:38 +0000
commita132c404b60006e8038cc19bc84e08c056c11e6e (patch)
treec5188408ffab12b478f95bd14b4219bb50c5d6fd /gas/testsuite
parent681447c6cf4773be5e346ed651b50abc6e48d3cf (diff)
downloadgdb-a132c404b60006e8038cc19bc84e08c056c11e6e.zip
gdb-a132c404b60006e8038cc19bc84e08c056c11e6e.tar.gz
gdb-a132c404b60006e8038cc19bc84e08c056c11e6e.tar.bz2
* gas/m68k/link.s: Use "&" instead of "#" for immediate values.
* gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: New test. * gas/m68k/all.exp: Run it.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/m68k/.Sanitize2
-rw-r--r--gas/testsuite/gas/m68k/fmoveml.d37
-rw-r--r--gas/testsuite/gas/m68k/fmoveml.s33
4 files changed, 79 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 2a87393..aac5333 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+Fri Nov 3 12:35:07 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * gas/m68k/link.s: Use "&" instead of "#" for immediate values.
+
+ * gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: New test.
+ * gas/m68k/all.exp: Run it.
+
Thu Nov 2 23:11:05 1995 Ian Lance Taylor <ian@cygnus.com>
* gas/m68k/link.s, gas/m68k/link.d: New test.
diff --git a/gas/testsuite/gas/m68k/.Sanitize b/gas/testsuite/gas/m68k/.Sanitize
index 8e171aa..50a1cfb 100644
--- a/gas/testsuite/gas/m68k/.Sanitize
+++ b/gas/testsuite/gas/m68k/.Sanitize
@@ -31,6 +31,8 @@ bitfield.s
cas.d
cas.s
disperr.s
+fmoveml.d
+fmoveml.s
link.d
link.s
op68000.d
diff --git a/gas/testsuite/gas/m68k/fmoveml.d b/gas/testsuite/gas/m68k/fmoveml.d
new file mode 100644
index 0000000..ebd7ee3
--- /dev/null
+++ b/gas/testsuite/gas/m68k/fmoveml.d
@@ -0,0 +1,37 @@
+#objdump: -d
+#name: fmoveml
+
+# Test handling of fmoveml instruction.
+
+.*: +file format .*
+
+Disassembly of section .text:
+0+000 <foo> fmovel %fpcr,%a0@
+0+004 <foo\+4> fmovel %fpsr,%a0@
+0+008 <foo\+8> fmovel %fpiar,%a0@
+0+00c <foo\+c> fmoveml %fpsr/%fpcr,%a0@
+0+010 <foo\+10> fmoveml %fpiar/%fpcr,%a0@
+0+014 <foo\+14> fmoveml %fpiar/%fpsr,%a0@
+0+018 <foo\+18> fmoveml %fpiar/%fpsr/%fpcr,%a0@
+0+01c <foo\+1c> fmovel %fpcr,%d0
+0+020 <foo\+20> fmovel %fpsr,%d0
+0+024 <foo\+24> fmovel %fpiar,%d0
+0+028 <foo\+28> fmovel %fpiar,%a0
+0+02c <foo\+2c> fmovel %a0@,%fpcr
+0+030 <foo\+30> fmovel %a0@,%fpsr
+0+034 <foo\+34> fmovel %a0@,%fpiar
+0+038 <foo\+38> fmoveml %a0@,%fpsr/%fpcr
+0+03c <foo\+3c> fmoveml %a0@,%fpiar/%fpcr
+0+040 <foo\+40> fmoveml %a0@,%fpiar/%fpsr
+0+044 <foo\+44> fmoveml %a0@,%fpiar/%fpsr/%fpcr
+0+048 <foo\+48> fmovel %d0,%fpcr
+0+04c <foo\+4c> fmovel %d0,%fpsr
+0+050 <foo\+50> fmovel %d0,%fpiar
+0+054 <foo\+54> fmovel %a0,%fpiar
+0+058 <foo\+58> fmovel #1,%fpcr
+0+060 <foo\+60> fmovel #1,%fpsr
+0+068 <foo\+68> fmovel #1,%fpiar
+0+070 <foo\+70> fmoveml #1,%fpsr/%fpcr
+0+078 <foo\+78> fmoveml #1,%fpiar/%fpcr
+0+080 <foo\+80> fmoveml #1,%fpiar/%fpsr
+0+088 <foo\+88> fmoveml #1,%fpiar/%fpsr/%fpcr
diff --git a/gas/testsuite/gas/m68k/fmoveml.s b/gas/testsuite/gas/m68k/fmoveml.s
new file mode 100644
index 0000000..42e7848
--- /dev/null
+++ b/gas/testsuite/gas/m68k/fmoveml.s
@@ -0,0 +1,33 @@
+# Test handling of the fmoveml instruction.
+ .text
+ .globl foo
+foo:
+ fmoveml %fpcr,%a0@
+ fmoveml %fpsr,%a0@
+ fmoveml %fpiar,%a0@
+ fmoveml %fpcr/%fpsr,%a0@
+ fmoveml %fpcr/%fpiar,%a0@
+ fmoveml %fpsr/%fpiar,%a0@
+ fmoveml %fpcr/%fpsr/%fpiar,%a0@
+ fmoveml %fpcr,%d0
+ fmoveml %fpsr,%d0
+ fmoveml %fpiar,%d0
+ fmoveml %fpiar,%a0
+ fmoveml %a0@,%fpcr
+ fmoveml %a0@,%fpsr
+ fmoveml %a0@,%fpiar
+ fmoveml %a0@,%fpsr/%fpcr
+ fmoveml %a0@,%fpiar/%fpcr
+ fmoveml %a0@,%fpiar/%fpsr
+ fmoveml %a0@,%fpsr/%fpiar/%fpcr
+ fmoveml %d0,%fpcr
+ fmoveml %d0,%fpsr
+ fmoveml %d0,%fpiar
+ fmoveml %a0,%fpiar
+ fmoveml &1,%fpcr
+ fmoveml &1,%fpsr
+ fmoveml &1,%fpiar
+ fmoveml &1,%fpcr/%fpsr
+ fmoveml &1,%fpcr/%fpiar
+ fmoveml &1,%fpsr/%fpiar
+ fmoveml &1,%fpiar/%fpsr/%fpcr