+2003-10-23 Peter Barada <pbarada@mail.wm.sps.mot.com>
+
+ * gas/m68k/mcf-mov3q.s: New file: Test some ColdFire instructions.
+ * gas/m68k/mcf-mov3q.s: New file: Expected disassembly.
+ * gas/m68k/all.exp: Run new test.
+
2003-10-22 Andreas Schwab <schwab@suse.de>
H.J. Lu <hongjiu.lu@intel.com>
run_dump_test bitfield
run_dump_test link
run_dump_test fmoveml
+ run_dump_test mcf-mov3q
set testname "68000 operands"
gas_run "operands.s" "-m68000" "2>err.out"
--- /dev/null
+#name: mcf-mov3q
+#objdump: -d --architecture=m68k:5407
+#as: -m5407
+
+.*: file format .*
+
+Disassembly of section .text:
+
+00000000 <test_mov3q>:
+ 0: a140 mov3ql #-1,%d0
+ 2: a349 mov3ql #1,%a1
+ 4: a552 mov3ql #2,%a2@
+ 6: a75b mov3ql #3,%a3@\+
+ 8: a964 mov3ql #4,%a4@-
+ a: ab6d 04d2 mov3ql #5,%a5@\(1234\)
+ e: ad76 6803 mov3ql #6,%fp@\(00000003,%d6:l\)
+ 12: af78 1234 mov3ql #7,1234 (<test_mov3q\+0x1234>|<.data\+0x1218>)
+ 16: a179 1234 5678 mov3ql #-1,12345678 (<test_mov3q\+0x12345678>|<.data\+0x1234565c>)
--- /dev/null
+.text
+|*****************************************************************
+| Test all permutations of mov3q
+|*****************************************************************
+ .global test_mov3q
+test_mov3q:
+ mov3q.l #-1,%d0 | Mode 0
+ mov3q.l #1,%a1 | Mode 1
+ mov3q.l #2,(%a2) | Mode 2
+ mov3q.l #3,(%a3)+ | Mode 3
+ mov3q.l #4,-(%a4) | Mode 4
+ mov3q.l #5,(1234,%a5) | Mode 5
+ mov3q.l #6,(3,%a6,%d6) | Mode 6
+ mov3q.l #7,0x1234.w | Mode 7.0
+ mov3q.l #-1,0x12345678.l | Mode 7.1
+