[m68k] Final part of architecture cleanup
Nathan Sidwell
nathan@codesourcery.com
Fri Mar 24 07:41:00 GMT 2006
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
More information about the Binutils
mailing list