This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: More troubles in ColdFire land


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~


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