This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC, x86] Changes for AVX and AVX2 processors
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Vladimir Yakovlev <vbyakovl23 at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 10 Jan 2013 12:28:24 +0100
- Subject: Re: [RFC, x86] Changes for AVX and AVX2 processors
- References: <CAFULd4bE_YZ22s_yeGia-REBmNnhA0dM+LvboFAh0XofkxpT4g@mail.gmail.com> <CAK1BsWoqLikf6FdkteTRFP_ESpR-vkYDX3rLgQnZELChaAKxBw@mail.gmail.com> <CAFULd4Zatns1RwNRv6-knWA0MEdCfnZbYd6Qaek81kSqiMXC+Q@mail.gmail.com> <CAK1BsWpUdUg+ivi7pFdbUr8R45YjhbBCNhmN=98sMmW99dy-tg@mail.gmail.com> <CAK1BsWo-iWDNcukpNqKsp7OrpE+k9riZV0=9Z3FxuGK+4DW24w@mail.gmail.com> <CAFULd4Y3L0b8d+LPWgKuRtAx=W59gS6BANhE21e3PmEM8ZOWSQ@mail.gmail.com> <CAK1BsWqZzaHoR-O_RFNT-HYJVXhgyotKfiK17FXV5Q83tg2_HQ@mail.gmail.com> <CAFULd4at=44YLxXRyWvyxQzAFDdA32-vK-8WgDCAZuWR0cm5FQ@mail.gmail.com> <CAK1BsWoJvbcu_icjUoXKs4dkaL5dMRPfnhetCZasVWOFwjFzPA@mail.gmail.com>
On Thu, Jan 10, 2013 at 12:12 PM, Vladimir Yakovlev
<vbyakovl23@gmail.com> wrote:
> It seems I didn't sent a patch with last changes. Sorry if so.
>
> Vladimir
>
> 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.
As strictly tuning patch, the patch is OK for mainline.
Please note, that (eventual) processor dispatcher patch will have to
wait for next stage1.
Thanks,
Uros.