[Cbe-oss-dev] [RFC, PATCH] selection of CPU optimization

Segher Boessenkool segher at kernel.crashing.org
Fri Apr 13 06:22:30 EST 2007


>> Except that's not in any public GCC version yet.  Well,
>> two weeks ago it wasn't...
>>
>> Note that specifying an unknown -mcpu/tune= is an error,
>> not a warning or totally ignored.
>
> Correct, it's not upstream yet. It will be at some point, and in 
> general
> people who have access to hardware also have access to a toolchain that
> has it.
>
> So, leave it open, or use 970 settings for now to keep Segher happy.

-mcpu=970 would be wrong (although it should work in this
specific case).  -mcpu=powerpc64 is better.  -mtune=970
wouldn't make any sense.

It's not about "keeping me happy", it's about doing the
Right Thing(tm).  Don't fight the toolchain, work with it.


Segher




More information about the cbe-oss-dev mailing list