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]

Re: [m68k] Final part of architecture cleanup


Ben Elliston wrote:
The v4e has ASID as a control register, its value is 0x003, as well
as ACR0-3.  I've used the following patch to call out for the v4e
movec register names instead of their m68k equivalents:


Mostly okay (see below).  You'll need a ChangeLog entry, too, of
course.


*************** m68k_ip (instring)
*** 2765,2770 ****
--- 2765,2771 ----
 	    case CACR:
 	      tmpreg = 0x002;
 	      break;
+ 	    case ASID:
 	    case TC:
 	      tmpreg = 0x003;
 	      break;


Please add a comment under `case ASID:' like /* Fall through. */.

Peter, don't forget to patch the enumeration in m68k-parse.h too -- You omitted that from your email


nathan

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


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