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: [patch] add apple specific i386 cpu


On 6/4/07, Eric Christopher <echristo@apple.com> wrote:
So, Apple has only shipped i386 hardware targeting a specific set of
i386 hardware. Previously we had a target of nocona by default, but
unfortunately that supports sse3 so the best would perhaps be to have
an architecture for the minimum supported hardware for apple.

Can you not use the name Apple? It seems better to use Darwin or something like sse264? The main reason is that we should not credit Apple in this case. Maybe there is a better way of implementing this for darwin only. Something like what is done for the rs6000 back-end: #undef PROCESSOR_DEFAULT #define PROCESSOR_DEFAULT PROCESSOR_PPC7400 #undef PROCESSOR_DEFAULT64 #define PROCESSOR_DEFAULT64 PROCESSOR_POWER4


.... #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_POWERPC | MASK_MULTIPLE | MASK_NEW_MNEMONICS \ | MASK_PPC_GFXOPT)


Thanks, Andrew Pinski


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