This is the mail archive of the gcc-patches@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: -mtune=generic for i386 backend


On Wed, Jan 18, 2006 at 12:25:07AM +0100, Jan Hubicka wrote:
> + #define TARGET_CPU_DEFAULT_generic 17
>   
>   #define TARGET_CPU_DEFAULT_NAMES {"i386", "i486", "pentium", "pentium-mmx",\
>   				  "pentiumpro", "pentium2", "pentium3", \
>   				  "pentium4", "k6", "k6-2", "k6-3",\
>   				  "athlon", "athlon-4", "k8", \
> ! 				  "pentium-m", "prescott", "nocona", "generic"}
...
>     PROCESSOR_NOCONA,
> +   PROCESSOR_GENERIC32,
> +   PROCESSOR_GENERIC64,

These aren't being kept in sync.  IIRC that's badness.  Of course,
a better question is why we have multiple enumerations...

> +   /* All patterns using algined_operand on memory operands ends up

Typo.

Otherwise I don't see anything objectionable.  It would be nice
to paste some of the rationale from your mail into comments at
appropriate points where generic* settings are set.


r~


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