This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

add more ColdFire cpus


This patch adds assembler support for 5210a..5211a, 52230..52235 and 5224..5225 ColdFire cpus. ok?

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2007-02-17  Nathan Sidwell  <nathan@codesourcery.com>

	* config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
	(m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.

Index: config/tc-m68k.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m68k.c,v
retrieving revision 1.83
diff -c -3 -p -r1.83 tc-m68k.c
*** config/tc-m68k.c	15 Feb 2007 18:37:08 -0000	1.83
--- config/tc-m68k.c	17 Feb 2007 10:29:02 -0000
*************** static const enum m68k_register mcf5208_
*** 180,185 ****
--- 180,189 ----
    CACR, ACR0, ACR1, VBR, RAMBAR1,
    0
  };
+ static const enum m68k_register mcf5210a_ctrl[] = {
+   VBR, CACR, ACR0, ACR1, ROMBAR, RAMBAR, MBAR,
+   0
+ };
  static const enum m68k_register mcf5213_ctrl[] = {
    VBR, RAMBAR, FLASHBAR,
    0
*************** static const enum m68k_register mcf5216_
*** 188,193 ****
--- 192,205 ----
    VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR,
    0
  };
+ static const enum m68k_register mcf52235_ctrl[] = {
+   VBR, FLASHBAR, RAMBAR,
+   0
+ };
+ static const enum m68k_register mcf5225_ctrl[] = {
+   VBR, CACR, ACR0, ACR1, FLASHBAR, RAMBAR, MBAR,
+   0
+ };
  static const enum m68k_register mcf5235_ctrl[] = {
    VBR, CACR, ACR0, ACR1, RAMBAR,
    0
*************** static const struct m68k_cpu m68k_cpus[]
*** 525,530 ****
--- 537,545 ----
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,	mcf5208_ctrl, "5207", -1},
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,	mcf5208_ctrl, "5208", 0},
    
+   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,	mcf5210a_ctrl, "5210a", 0},
+   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,	mcf5210a_ctrl, "5211a", 1},
+   
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,	mcf5213_ctrl, "5211", -1},
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,	mcf5213_ctrl, "5212", -1},
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,	mcf5213_ctrl, "5213", 0},
*************** static const struct m68k_cpu m68k_cpus[]
*** 533,538 ****
--- 548,561 ----
    {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|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},
+   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,  mcf52235_ctrl, "52235", 0},
+   
+   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,   mcf5225_ctrl, "5224", -1},
+   {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfmac|mcfusp,   mcf5225_ctrl, "5225", 0},
+   
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,	mcf5235_ctrl, "5232", -1},
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,	mcf5235_ctrl, "5233", -1},
    {mcfisa_a|mcfisa_aa|mcfhwdiv|mcfemac|mcfusp,	mcf5235_ctrl, "5234", -1},

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]