aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-05-25 08:09:03 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-05-25 08:09:03 +0000
commita596001ecea450e3da13b620d58881f10a18b426 (patch)
tree6a8516390055ef14c69173a60a4947fe285722cd /gas
parentc380fdd888ebfbd7253f5d80ad029a766b439259 (diff)
downloadfsf-binutils-gdb-a596001ecea450e3da13b620d58881f10a18b426.zip
fsf-binutils-gdb-a596001ecea450e3da13b620d58881f10a18b426.tar.gz
fsf-binutils-gdb-a596001ecea450e3da13b620d58881f10a18b426.tar.bz2
include/opcodes/
* m68k.h (mcf_mask): Define. opcodes/ * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd and fmovem entries. Put register list entries before immediate mask entries. Use "l" rather than "L" in the fmovem entries. * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it out from INFO. (m68k_scan_mask): New function, split out from... (print_insn_m68k): ...here. If no architecture has been set, first try printing an m680x0 instruction, then try a Coldfire one. gas/testsuite/ * gas/m68k/mcf-fpu.s: Add fmovemd and fmovem instructions. * gas/m68k/mcf-fpu.d: Adjust accordingly.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/m68k/mcf-fpu.d8
-rw-r--r--gas/testsuite/gas/m68k/mcf-fpu.s8
3 files changed, 21 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d5ea528..74697a1 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-25 Richard Sandiford <richard@codesourcery.com>
+
+ * gas/m68k/mcf-fpu.s: Add fmovemd and fmovem instructions.
+ * gas/m68k/mcf-fpu.d: Adjust accordingly.
+
2006-05-25 Jie Zhang <jie.zhang@analog.com>
* gas/bfin/vector2.s, gas/bfin/vector2.d: Test to ensure (m) is not
diff --git a/gas/testsuite/gas/m68k/mcf-fpu.d b/gas/testsuite/gas/m68k/mcf-fpu.d
index 56d9ade..5167b08 100644
--- a/gas/testsuite/gas/m68k/mcf-fpu.d
+++ b/gas/testsuite/gas/m68k/mcf-fpu.d
@@ -168,3 +168,11 @@ Disassembly of section .text:
[ 0-9a-f]+: f22e 5038 0008 fcmpw %fp@\(8\),%fp0
[ 0-9a-f]+: f22e 5438 0008 fcmpd %fp@\(8\),%fp0
[ 0-9a-f]+: f22e 5838 0008 fcmpb %fp@\(8\),%fp0
+[ 0-9a-f]+: f22e f0f2 0008 fmovemd %fp0-%fp3/%fp6,%fp@\(8\)
+[ 0-9a-f]+: f22e d02c 0008 fmovemd %fp@\(8\),%fp2/%fp4-%fp5
+[ 0-9a-f]+: f22e f027 0008 fmovemd %fp2/%fp5-%fp7,%fp@\(8\)
+[ 0-9a-f]+: f22e d0e1 0008 fmovemd %fp@\(8\),%fp0-%fp2/%fp7
+[ 0-9a-f]+: f22e f0f2 0008 fmovemd %fp0-%fp3/%fp6,%fp@\(8\)
+[ 0-9a-f]+: f22e d02c 0008 fmovemd %fp@\(8\),%fp2/%fp4-%fp5
+[ 0-9a-f]+: f22e f027 0008 fmovemd %fp2/%fp5-%fp7,%fp@\(8\)
+[ 0-9a-f]+: f22e d0e1 0008 fmovemd %fp@\(8\),%fp0-%fp2/%fp7
diff --git a/gas/testsuite/gas/m68k/mcf-fpu.s b/gas/testsuite/gas/m68k/mcf-fpu.s
index 7d68cb9..99231a7 100644
--- a/gas/testsuite/gas/m68k/mcf-fpu.s
+++ b/gas/testsuite/gas/m68k/mcf-fpu.s
@@ -163,3 +163,11 @@
fcmpw %fp@(8),%fp0
fcmpd %fp@(8),%fp0
fcmpb %fp@(8),%fp0
+ fmovemd %fp0-%fp3/%fp6,%fp@(8)
+ fmovemd %fp@(8),%fp5/%fp4/%fp2
+ fmovemd #0x27,%fp@(8)
+ fmovemd %fp@(8),#0xe1
+ fmovem %fp0-%fp3/%fp6,%fp@(8)
+ fmovem %fp@(8),%fp5/%fp4/%fp2
+ fmovem #0x27,%fp@(8)
+ fmovem %fp@(8),#0xe1