gas/
authorKazu Hirata <kazu@codesourcery.com>
Thu, 27 Sep 2007 11:14:10 +0000 (11:14 +0000)
committerKazu Hirata <kazu@codesourcery.com>
Thu, 27 Sep 2007 11:14:10 +0000 (11:14 +0000)
* config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
(last_movec_reg): Change to MBO.
* config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
(m68k_ip): Use MBO instead of MBO.
(init_table): Use MBO instead of MBO.  Add an entry for mbo.

gas/testsuite/
* gas/m68k/fido.s: Add tests for %mbo.
* gas/m68k/fido.d: Update accordingly.

opcodes/
* m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.

gas/ChangeLog
gas/config/m68k-parse.h
gas/config/tc-m68k.c
gas/testsuite/ChangeLog
gas/testsuite/gas/m68k/fido.d
gas/testsuite/gas/m68k/fido.s
opcodes/ChangeLog
opcodes/m68k-dis.c

index 4c02e1dba40478ae515f62e151e3dc334cdb6e07..db081b6d7f9c8bc5a089db8294be66029c44fc10 100644 (file)
@@ -1,3 +1,11 @@
+2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
+       (last_movec_reg): Change to MBO.
+       * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
+       (m68k_ip): Use MBO instead of MBO.
+       (init_table): Use MBO instead of MBO.  Add an entry for mbo.
+
 2007-09-26  Jan Beulich  <jbeulich@novell.com>
 
        * config/tc-i386.c (build_modrm_byte): Also check for RegEip
index 6695cfc3daf08ce810e921a9ab56f9d11471f697..f39bb825df1a6858325ddf024d70cb766f3ff774 100644 (file)
@@ -131,8 +131,8 @@ enum m68k_register
   MBAR,
   ASID,                                /* m5475.  */
   CAC,                         /* fido added this.  */
-  MBB,
-#define last_movec_reg MBB
+  MBO,
+#define last_movec_reg MBO
   /* End of movec ordering constraints.  */
 
   FPI,
index 569a89e96903dda15d16244ddb5b791a2c176cb3..78f6a9aa63bef512a261a51fa4a6bbf505a0d9d1 100644 (file)
@@ -309,7 +309,7 @@ static const enum m68k_register mcf5485_ctrl[] = {
   0
 };
 static const enum m68k_register fido_ctrl[] = {
-  SFC, DFC, USP, VBR, CAC, MBB,
+  SFC, DFC, USP, VBR, CAC, MBO,
   0
 };
 #define cpu32_ctrl m68010_ctrl
@@ -3265,7 +3265,7 @@ m68k_ip (char *instring)
             case CAC:
               tmpreg = 0xFFE;
               break;
-            case MBB:
+            case MBO:
               tmpreg = 0xFFF;
               break;
            default:
@@ -4006,7 +4006,8 @@ static const struct init_entry init_table[] =
   { "mbar2",    MBAR2 },       /* mcf5249 registers.  */
 
   { "cac",    CAC },           /* fido registers.  */
-  { "mbb",    MBB },           /* fido registers.  */
+  { "mbb",    MBO },           /* fido registers (obsolete).  */
+  { "mbo",    MBO },           /* fido registers.  */
   /* End of control registers.  */
 
   { "ac", AC },
index a84293ea75be154f9dd24b13d947daeb7ed4a314..32d52630a82cabdd8a40c250e8ee606cd35a9685 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
+
+       * gas/m68k/fido.s: Add tests for %mbo.
+       * gas/m68k/fido.d: Update accordingly.
+
 2007-09-26  Jan Beulich  <jbeulich@novell.com>
 
        * gas/i386/x86-64-addr32.d: Adjust expectations.
index fff5abbef38a4aca55c89e1e7324567ee2bcf6ed..b7227339f8586bdd60d61c57328ebe56bb248d28 100644 (file)
@@ -25,17 +25,21 @@ Disassembly of section .text:
 0+020 <foo\+(0x|)20> trapx #15
 0+022 <foo\+(0x|)22> movec %cac,%d0
 0+026 <foo\+(0x|)26> movec %cac,%a0
-0+02a <foo\+(0x|)2a> movec %mbb,%d1
-0+02e <foo\+(0x|)2e> movec %mbb,%a1
+0+02a <foo\+(0x|)2a> movec %mbo,%d1
+0+02e <foo\+(0x|)2e> movec %mbo,%a1
 0+032 <foo\+(0x|)32> movec %d2,%cac
 0+036 <foo\+(0x|)36> movec %a2,%cac
-0+03a <foo\+(0x|)3a> movec %d3,%mbb
-0+03e <foo\+(0x|)3e> movec %a3,%mbb
+0+03a <foo\+(0x|)3a> movec %d3,%mbo
+0+03e <foo\+(0x|)3e> movec %a3,%mbo
 0+042 <foo\+(0x|)42> movec %cac,%d4
 0+046 <foo\+(0x|)46> movec %cac,%a4
-0+04a <foo\+(0x|)4a> movec %mbb,%d5
-0+04e <foo\+(0x|)4e> movec %mbb,%a5
+0+04a <foo\+(0x|)4a> movec %mbo,%d5
+0+04e <foo\+(0x|)4e> movec %mbo,%a5
 0+052 <foo\+(0x|)52> movec %d6,%cac
 0+056 <foo\+(0x|)56> movec %fp,%cac
-0+05a <foo\+(0x|)5a> movec %d7,%mbb
-0+05e <foo\+(0x|)5e> movec %sp,%mbb
+0+05a <foo\+(0x|)5a> movec %d7,%mbo
+0+05e <foo\+(0x|)5e> movec %sp,%mbo
+0+062 <foo\+(0x|)62> movec %mbo,%d0
+0+066 <foo\+(0x|)66> movec %mbo,%a0
+0+06a <foo\+(0x|)6a> movec %d1,%mbo
+0+06e <foo\+(0x|)6e> movec %a1,%mbo
index 8aaac7c547363232e6e3b3660e3a7ffdcd82d8fd..41222180654a0e92d6025ee8daf06d1495dab4a1 100644 (file)
@@ -35,3 +35,7 @@ foo:
        movec %a6,%cac
        movec %d7,%mbb
        movec %a7,%mbb
+       movec %mbo,%d0
+       movec %mbo,%a0
+       movec %d1,%mbo
+       movec %a1,%mbo
index 82d3eef26c2a8dd3289ab7810242dfa5ef8ac1c5..391b552c7e1f78b22e31322133f2486f3508d9c6 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
+
+       * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
+
 2007-09-26  James E. Wilson  <wilson@specifix.com>
 
        * ia64-gen.c (print_dependency_table): Fix typo in last patch.
index b9d8a0471cb93a059fac47f154c00d10e7d02d47..77820ef8a0f7bf5f2fc8f5b75a090fabe913f40f 100644 (file)
@@ -641,7 +641,7 @@ print_insn_arg (const char *d,
              {"%urp", 0x806}, {"%srp", 0x807}, {"%pcr", 0x808},
 
             /* Fido added these.  */
-             {"%cac", 0xffe}, {"%mbb", 0xfff}};
+             {"%cac", 0xffe}, {"%mbo", 0xfff}};
 
        val = fetch_arg (buffer, place, 12, info);
        for (regno = sizeof names / sizeof names[0] - 1; regno >= 0; regno--)
This page took 0.031287 seconds and 4 git commands to generate.