This is the mail archive of the gcc-help@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: Forcing use of move instead of movem on M68k (5200/5307)


Richard Baverstock <rbaverst@engmail.uwaterloo.ca> writes:

> We're having an issue with movem on the coldfire boards we are
> compiling a program for, and wondering if we can force the m68k gcc
> compiler to use move instead of movem. movem does not appear to be
> working on whatever chip variant we have, which severely affects
> returning from functions. Using the coldfire 5307, tried compiling
> with -m5200 and -m5307, both use movem.

Unfortunately there is no option to disable movem.  You would have to
change the compiler source code.

The ColdFire does support movem, although it doesn't support all
variants.  You didn't mention which version of gcc you are using.
There have been improvements to the ColdFire support in recent
releases.

Ian


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