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: [RFC, x86] Changes for AVX and AVX2 processors


Kirill,

Could you commit patch?

2013-01-11  Vladimir Yakovlev  <vladimir.b.yakovlev@intel.com>

	* config/i386/i386-c.c (ix86_target_macros_internal): New case.
	(ix86_target_macros_internal): Likewise.

	* config/i386/i386.c (m_CORE2I7): Removed.
	(m_CORE_HASWELL): New macro.
	(m_CORE_ALL): Likewise.
	(initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
	(initial_ix86_arch_features): Likewise.
	(processor_target_table): Initializations for Core avx2.
	(cpu_names): New names "core-avx2".
	(ix86_option_override_internal): Changed PROCESSOR_COREI7 by
	PROCESSOR_CORE_HASWELL.
	(ix86_issue_rate): New case.
	(ia32_multipass_dfa_lookahead): Likewise.
	(ix86_sched_init_global): Likewise.

	* config/i386/i386.h (TARGET_HASWELL): New macro.
	(target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
	(processor_type): New PROCESSOR_HASWELL.



2013/1/11 Uros Bizjak <ubizjak@gmail.com>:
> On Fri, Jan 11, 2013 at 1:14 PM, Vladimir Yakovlev <vbyakovl23@gmail.com> wrote:
>> I sent the patch. Send it once more.
>>
>> 2013/1/11 Jakub Jelinek <jakub@redhat.com>:
>>> On Fri, Jan 11, 2013 at 03:25:47PM +0400, Vladimir Yakovlev wrote:
>>>> I've fixed Changelog. Can we commit the patch to trunk now?
>>>>
>>>> 2012-12-27  Vladimir Yakovlev  <vladimir.b.yakovlev@intel.com>
>>>>
>>>>       * config/i386/i386-c.c (ix86_target_macros_internal): New case.
>>>>       (ix86_target_macros_internal): Likewise.
>>>>
>>>>       * config/i386/i386.c (m_CORE2I7): Removed.
>>>>       (m_CORE_HASWELL): New macro.
>>>>       (m_CORE_ALL): Likewise.
>>>>       (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
>>>>       (initial_ix86_arch_features): Likewise.
>>>>       (processor_target_table): Initializations for Core avx2.
>>>>       (cpu_names): New names "core-avx2".
>>>>       (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
>>>>       PROCESSOR_CORE_HASWELL.
>>>>       (ix86_issue_rate): New case.
>>>>       (ia32_multipass_dfa_lookahead): Likewise.
>>>>       (ix86_sched_init_global): Likewise.
>>>>
>>>>       * config/i386/i386.h (TARGET_HASWELL): New macro.
>>>>       (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
>>>>       (processor_type): New PROCESSOR_HASWELL.
>>>
>>> Uros already acked the patch, so it certainly is ok to commit now.
>
> Yes, the patch is OK, you can commit it to mainline SVN. If you are
> unable to commit, please say so in the patch proposal, so someone will
> commit the patch for you (as explained in [1]).
>
> [1] http://gcc.gnu.org/contribute.html
>
> Uros.

Attachment: patch1
Description: Binary data


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