aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2011-09-07 20:56:09 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2011-09-07 20:56:09 +0000
commit96e67898bc731da86f9b9e8ea259e04ba95ce375 (patch)
tree45c775bcfcf99912f3b0108958ba74fa4259c1be /gas/testsuite
parentede1849f9211940ccad355759eb755c6df3e5ce2 (diff)
downloadgdb-96e67898bc731da86f9b9e8ea259e04ba95ce375.zip
gdb-96e67898bc731da86f9b9e8ea259e04ba95ce375.tar.gz
gdb-96e67898bc731da86f9b9e8ea259e04ba95ce375.tar.bz2
* gas/testsuite/gas/m68k/all.exp: Run "mode5" test also with -mcpu=5200.
* gas/testsuite/gas/m68k/mode5.s: Add moveml testcases. * gas/testsuite/gas/m68k/mode5.d: Update. * opcodes/m68k-opc.c: Use "y" in moveml pattern for mcfisa_a.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/m68k/all.exp1
-rw-r--r--gas/testsuite/gas/m68k/mode5.d2
-rw-r--r--gas/testsuite/gas/m68k/mode5.s2
4 files changed, 11 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index e1af12a..2a70ae7 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2011-09-07 Andreas Schwab <schwab@linux-m68k.org>
+
+ * gas/m68k/all.exp: Run "mode5" test also with -mcpu=5200.
+ * gas/m68k/mode5.s: Add moveml testcases.
+ * gas/m68k/mode5.d: Update.
+
2011-09-05 Richard Sandiford <rdsandiford@googlemail.com>
* gas/mips/loc-swap-2.s, gas/mips/loc-swap-2.d,
diff --git a/gas/testsuite/gas/m68k/all.exp b/gas/testsuite/gas/m68k/all.exp
index b3db085..bf06d4e 100644
--- a/gas/testsuite/gas/m68k/all.exp
+++ b/gas/testsuite/gas/m68k/all.exp
@@ -51,6 +51,7 @@ if { [istarget m68*-*-*] || [istarget fido*-*-*] } then {
run_dump_test mcf-mov3q
run_dump_test mcf-movsr
run_dump_test mode5
+ run_dump_test mode5 "{name {cf}} {as {-mcpu=5200}}"
run_dump_test mcf-mac
run_dump_test mcf-emac
run_dump_test mcf-coproc
diff --git a/gas/testsuite/gas/m68k/mode5.d b/gas/testsuite/gas/m68k/mode5.d
index b51346b..2de2c6a 100644
--- a/gas/testsuite/gas/m68k/mode5.d
+++ b/gas/testsuite/gas/m68k/mode5.d
@@ -10,4 +10,6 @@ Disassembly of section .text:
0: 2213 movel %a3@,%d1
2: 2882 movel %d2,%a4@
4: 2295 movel %a5@,%a1@
+ 6: 4cd6 00ff moveml %fp@,%d0-%d7
+ a: 48d6 00ff moveml %d0-%d7,%fp@
...
diff --git a/gas/testsuite/gas/m68k/mode5.s b/gas/testsuite/gas/m68k/mode5.s
index 27c95d9..6a08f1b 100644
--- a/gas/testsuite/gas/m68k/mode5.s
+++ b/gas/testsuite/gas/m68k/mode5.s
@@ -4,4 +4,6 @@
move.l 0(%a3),%d1
move.l %d2,0(%a4)
move.l 0(%a5),0(%a1)
+ movem.l 0(%a6),%d0-%d7
+ movem.l %d0-%d7,0(%a6)
.p2align 4