More troubles in ColdFire land

Richard Henderson rth@redhat.com
Thu Mar 21 15:30:00 GMT 2002


On Thu, Mar 21, 2002 at 01:09:11PM -0500, Peter Barada wrote:
> I've stumbled across another problem in that GO_IF_LEGITIMATE_ADDRESS
> doesn't discern between source and destination addresses, so it allows
> (reg+reg) which works in most cases *except* in moves where the source
> is immediate.

Egads.  One begins to wonder why ColdFire is considered 
an m68k at all...

> Is this the best way to solve this, or is there a better method?

That's certainly not enough.  You'll have to modify the
instruction pattern, not (just) the expander.


r~



More information about the Gcc mailing list