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: Core 2/i7 tuning results and analysis


On Fri, Oct 15, 2010 at 3:58 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Oct 15, 2010 at 3:08 AM, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
>
>> + 0001-Basic-support-for-Core-i7.patch
>>
>> Baseline.
>>
>> The patch makes GCC recognize "corei7" for -mtune= and -march= options.
>> The patch sets tuning for Core i7 to that of -mtune=generic or
>> -mtune=generic64 depending on the {-m32/-m64} option. ?The generic CPU is
>> special in the sense that has different tuning for 32-bit and 64-bit modes.
>> ?The patch adds same capability to use different tuning for different ABI
>> for Core i7.
>>
>
> I don't think it is needed. ?We added GENERIC32/GENRIC64 so that
> we can tune for 32bit/64bit in i386.c and *.md. PTA_TUNE32 is only
> used in ix86_option_override_internal where we know we are compiling
> for 32bit or 64bit. We can use TARGET_64BIT instead of adding
> PTA_TUNE32.
>
>

This patch removes PTA_TUNE32:

http://git.kernel.org/?p=devel/gcc/hjl/x86.git;a=patch;h=39b88e72a06b52cebb2749433c874332da3a184d


-- 
H.J.


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