OSDN Git Service

opcodes/
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 17 Oct 2007 13:44:09 +0000 (13:44 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Wed, 17 Oct 2007 13:44:09 +0000 (13:44 +0000)
* m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
coldfire.

gas/testsuite/
* gas/m68k/mcf-movsr.s: New.
* gas/m68k/mcf-movsr.d: New.
* gas/m68k/all.exp: Add mcf-movsr test.

opcodes/ChangeLog
opcodes/m68k-opc.c

index d9f7c9d..a4d3f1a 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-17  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
+       coldfire.
+
 2007-10-15  Peter Bergner  <bergner@vnet.ibm.com>
 
        * ppc-opc.c (powerpc_opcodes): Fix the first two operands of
index 0094dab..e3b7a45 100644 (file)
@@ -1593,10 +1593,10 @@ const struct m68k_opcode m68k_opcodes[] =
 {"movew", 2,   one(0041300),   one(0177700), "Cs$s", m68010up },
 {"movew", 2,   one(0041300),   one(0177770), "CsDs", mcfisa_a },
 {"movew", 2,   one(0042300),   one(0177700), ";wCd", m68000up },
-{"movew", 2,   one(0042300),   one(0177700), "DsCd", mcfisa_a },
+{"movew", 2,   one(0042300),   one(0177770), "DsCd", mcfisa_a },
 {"movew", 4,   one(0042374),   one(0177777), "#wCd", mcfisa_a },
 {"movew", 2,   one(0043300),   one(0177700), ";wSd", m68000up },
-{"movew", 2,   one(0043300),   one(0177700), "DsSd", mcfisa_a },
+{"movew", 2,   one(0043300),   one(0177770), "DsSd", mcfisa_a },
 {"movew", 4,   one(0043374),   one(0177777), "#wSd", mcfisa_a },
 
 {"movel", 2,   one(0070000),   one(0170400), "MsDd", m68000up | mcfisa_a },