[ColdFire 9/63] Add -mcpu, -march, -mtune, and related options

Roman Zippel zippel@linux-m68k.org
Mon Jan 15 18:08:00 GMT 2007


Hi,

On Wed, 10 Jan 2007, Richard Sandiford wrote:

> The patch therefore stops m68k_handle_option from changing the float
> setting and instead makes OVERRIDE_OPTIONS use the chosen architecture
> to pick a default if none of -mhard-float, -m68881 and -msoft-float
> are given.  The default for 68020 is -mhard-float, to match the
> existing defaults.  The patch takes the same sort of approach for
> -mbitfield and -mdiv too.

While I agree that the cpu options shouldn't change the fpu option, I'm 
not sure about the default setting. The important point is that the 68881 
switch also changes the ABI (the fp return value), so I think it might be 
better to leave the default to the target configuration.

bye, Roman



More information about the Gcc-patches mailing list