This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ColdFire 12/63] Add new predefined macros
On Wed, 2007-01-10 at 10:58 +0000, Richard Sandiford wrote:
> This patch adds some new cpp macros. Specifically:
>
> - it adds __mcfv[2345]__ macros, to go alongside the existing __mcfv4e__.
>
> - it defines __mcffpu__ when the ColdFire FPU is enabled
>
> - it defines __mcf_cpu_CPU and __mcf_family_FAMILY when a ColdFire CPU
> is selected. (These macros are used in the libgloss crt code.)
>
> The patch also documents some existing macros in invoke.texi.
>
> Richard
>
>
> gcc/
> 200x-xx-xx Nathan Sidwell <nathan@codesourcery.com>
> Richard Sandiford <richard@codesourcery.com>
>
> * doc/invoke.texi: Document the macros that are defined by
> m68k's -mtune and -mhard-float options.
> * config/m68k/m68k-protos.h (m68k_cpp_cpu_ident) Declare.
> (m68k_cpp_cpu_family): Likewise.
> * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Add a full set
> of __ucfv*__ macros. Define __mcffpu__ if generating code for
> ColdFire FPUs. Define __mcf_cpu_* and __mcf_family_* macros.
> * config/m68k/m68k.c (m68k_cpp_cpu_ident): New function.
> (m68k_cpp_cpu_family): Likewise.
OK.
Jeff