Forcing use of move instead of movem on M68k (5200/5307)
Richard Baverstock
rbaverst@engmail.uwaterloo.ca
Fri Mar 23 23:01:00 GMT 2007
We're using 2.95.3 and 3.4.6 (tried both versions), so nothing really
recent.
Trying the most recent one (4.1.2) would be a better idea? Or would a
more recent version of the 3.x series be better?
Thanks,
Richard
On Mar 23, 2007, at 12:15 PM, Ian Lance Taylor wrote:
> 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
More information about the Gcc-help
mailing list