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: Select the default x86 arch/cpu based on target


On 02/25/2010 05:33 PM, H.J. Lu wrote:
On Thu, Feb 25, 2010 at 2:21 PM, Jason Merrill<jason@redhat.com> wrote:
On 02/25/2010 05:16 PM, H.J. Lu wrote:

Here is the updated patch to allow native for with_cpu/with_arch.

Looks like you're missing cpu= in several of the cases:


There is:

cpu=generic

at the top.  For those processors without schedulers, we will
use their ISAs, but keep generic tuning, which was set to
provide decent optimization for all x86 processors.

It looks to me like there is specific tuning for i386, i486, pentiumpro, pentium4, and nocona in i386.c. And prescott uses the nocona tuning, but it looks like cpu=prescott will work too.


Jason


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