* config/tc-m68k.c (mcf5253_ctrl): New.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 20 Apr 2007 14:41:38 +0000 (14:41 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Fri, 20 Apr 2007 14:41:38 +0000 (14:41 +0000)
(mcf52223_ctrl): New.
(m68k_cpus): Add 5253, 52221, 52223.

gas/ChangeLog
gas/config/tc-m68k.c

index 0d97c45..59df563 100644 (file)
@@ -1,5 +1,9 @@
 2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
 
+       * config/tc-m68k.c (mcf5253_ctrl): New.
+       (mcf52223_ctrl): New.
+       (m68k_cpus): Add 5253, 52221, 52223.
+
        * config/m68k-parse.h (RAMBAR_ALT): New.
        * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
        (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
index 4e7391e..cce9b55 100644 (file)
@@ -196,6 +196,10 @@ static const enum m68k_register mcf5216_ctrl[] = {
   VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, RAMBAR1,
   0
 };
+static const enum m68k_register mcf52223_ctrl[] = {
+  VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, RAMBAR1,
+  0
+};
 static const enum m68k_register mcf52235_ctrl[] = {
   VBR, FLASHBAR, RAMBAR, RAMBAR1,
   0
@@ -216,6 +220,10 @@ static const enum m68k_register mcf5250_ctrl[] = {
   VBR,
   0
 };
+static const enum m68k_register mcf5253_ctrl[] = {
+  VBR, CACR, ACR0, ACR1, RAMBAR0, RAMBAR1, MBAR,
+  0
+};
 static const enum m68k_register mcf5271_ctrl[] = {
   VBR, CACR, ACR0, ACR1, RAMBAR, RAMBAR1,
   0
@@ -556,6 +564,9 @@ static const struct m68k_cpu m68k_cpus[] =
   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5216_ctrl, "5216", 0},
   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5216_ctrl, "521x", 2},
 
+  {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,   mcf52223_ctrl, "52221", -1},
+  {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,   mcf52223_ctrl, "52223", 0},
+
   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,  mcf52235_ctrl, "52230", -1},
   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,  mcf52235_ctrl, "52233", -1},
   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,  mcf52235_ctrl, "52234", -1},
@@ -572,6 +583,7 @@ static const struct m68k_cpu m68k_cpus[] =
   
   {mcfisa_a|mcfhwdiv|mcfemac,                  mcf5249_ctrl, "5249", 0},
   {mcfisa_a|mcfhwdiv|mcfemac,                  mcf5250_ctrl, "5250", 0},
+  {mcfisa_a|mcfhwdiv|mcfemac,                  mcf5253_ctrl, "5253", 0},
   
   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5271_ctrl, "5270", -1},
   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp, mcf5271_ctrl, "5271", 0},