[patch] add apple specific i386 cpu

Eric Christopher echristo@apple.com
Tue Jun 5 01:14:00 GMT 2007


On Jun 4, 2007, at 6:12 PM, Andrew Pinski wrote:

> 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

I would have if I could have come up with one. It's almost a core- 
solo, but
you have to take into account other x86 processors as well.

>
> something like sse264?  The main reason is that we should not credit
> Apple in this case.

In which 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)

Yes, I know about all of this, but the problem is that there isn't a  
single processor with the specific
configuration that I was looking at - in addition the x86 backend  
isn't set up the same.

-eric



More information about the Gcc-patches mailing list