[patch] m68k/m5200

Ian Caddy ianc at microsol.iinet.net.au
Tue Mar 12 10:03:48 UTC 2002


Hi,

I just tested Chris's patch and it works fine on a Coldfire 5307 system.

I think we should accept this as the patch as it is more elegant than the one I put forward.

regards,

Ian Caddy


Chris Johns wrote:

> Ian Caddy wrote:
> >
> > There is no straight forward way to implement a replacement in one
> > instruction, so I have shown a patch, using C source and let the compiler
> > choose the best assembler instructions, as to replace an ROR instruction takes
> > 9 instructions, including the saving and restoring of a couple of temporary
> > registers.
> >
>
> What about this untested patch ? Would you be able to test it and
> confirm it is ok ?
>
> A simple test I made lowers the number of instructions from the patch
> you posted.

--

ianc at microsol.iinet.net.au
Microsol (Aust) Pty Ltd

Phone: (+61) 08 9473 6600
Fax:   (+61) 08 9473 6699





More information about the users mailing list