From a132c404b60006e8038cc19bc84e08c056c11e6e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 3 Nov 1995 18:10:38 +0000 Subject: [PATCH] * 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. --- gas/testsuite/ChangeLog | 7 ++++++ gas/testsuite/gas/m68k/.Sanitize | 2 ++ gas/testsuite/gas/m68k/fmoveml.d | 37 ++++++++++++++++++++++++++++++++ gas/testsuite/gas/m68k/fmoveml.s | 33 ++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 gas/testsuite/gas/m68k/fmoveml.d create mode 100644 gas/testsuite/gas/m68k/fmoveml.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 2a87393e897..aac5333f7f7 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +Fri Nov 3 12:35:07 1995 Ian Lance Taylor + + * 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 * 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 8e171aa8d61..50a1cfbfe95 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 00000000000..ebd7ee3f093 --- /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 fmovel %fpcr,%a0@ +0+004 fmovel %fpsr,%a0@ +0+008 fmovel %fpiar,%a0@ +0+00c fmoveml %fpsr/%fpcr,%a0@ +0+010 fmoveml %fpiar/%fpcr,%a0@ +0+014 fmoveml %fpiar/%fpsr,%a0@ +0+018 fmoveml %fpiar/%fpsr/%fpcr,%a0@ +0+01c fmovel %fpcr,%d0 +0+020 fmovel %fpsr,%d0 +0+024 fmovel %fpiar,%d0 +0+028 fmovel %fpiar,%a0 +0+02c fmovel %a0@,%fpcr +0+030 fmovel %a0@,%fpsr +0+034 fmovel %a0@,%fpiar +0+038 fmoveml %a0@,%fpsr/%fpcr +0+03c fmoveml %a0@,%fpiar/%fpcr +0+040 fmoveml %a0@,%fpiar/%fpsr +0+044 fmoveml %a0@,%fpiar/%fpsr/%fpcr +0+048 fmovel %d0,%fpcr +0+04c fmovel %d0,%fpsr +0+050 fmovel %d0,%fpiar +0+054 fmovel %a0,%fpiar +0+058 fmovel #1,%fpcr +0+060 fmovel #1,%fpsr +0+068 fmovel #1,%fpiar +0+070 fmoveml #1,%fpsr/%fpcr +0+078 fmoveml #1,%fpiar/%fpcr +0+080 fmoveml #1,%fpiar/%fpsr +0+088 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 00000000000..42e78486c31 --- /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 -- 2.30.2