[m68k] Final part of architecture cleanup

Ben Elliston bje+dated+1143606336.30dc31@air.net.au
Fri Mar 24 05:05:00 GMT 2006


> 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.  */.

Thanks, Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060324/f5518f50/attachment.sig>


More information about the Binutils mailing list