* gas/m68k/link.s: Use "&" instead of "#" for immediate values.
authorIan Lance Taylor <ian@airs.com>
Fri, 3 Nov 1995 18:10:38 +0000 (18:10 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 3 Nov 1995 18:10:38 +0000 (18:10 +0000)
* gas/m68k/fmoveml.s, gas/m68k/fmoveml.d: New test.
* gas/m68k/all.exp: Run it.

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

index 2a87393e8971c4540a883cc5ff196b7bda324649..aac5333f7f724b47be5a5b61b30f32d4c088d42b 100644 (file)
@@ -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.
index 8e171aa8d61ac4002ccac412c0f3afe65187b983..50a1cfbfe95d572049832dea213b3e108106d2a7 100644 (file)
@@ -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 (file)
index 0000000..ebd7ee3
--- /dev/null
@@ -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 (file)
index 0000000..42e7848
--- /dev/null
@@ -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