[ColdFire 11/63] Treat mc680x0 macros as tuning-dependent macros

Jeffrey Law law@redhat.com
Wed Jan 10 18:28:00 GMT 2007


On Wed, 2007-01-10 at 10:57 +0000, Richard Sandiford wrote:
> The mc680[12346]0 macros are effectively tuning macros.  E.g. -m68020-40
> sets mc68020, mc68030 and mc68040, even though it only generates mc68020
> instructions.  This patch makes that more explicit by setting the macros
> in an m68k_tune switch statement.  The next patch will add ColdFire
> macros to it.
> 
> Richard
> 
> 
> gcc/
> 	* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Treat all mc68*
> 	macros besides mc68000 as tuning macros.  Use a switch statement
> 	to set them and mcpu32.
OK.
Jeff




More information about the Gcc-patches mailing list