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] Add -mtune=ia support


On Thu, Dec 5, 2013 at 7:22 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:

> We'd like to add a new -mtune=ia option for x86 to optimize for both
> Haswell and Silvermont.  Currently, -mtune=ia is aliased to -mtune=slm.
> We will improve it further for Haswell and Silvermont.  Later, we will
> update it to future Intel processors.  OK for trunk?
>
> 2013-12-05  H.J. Lu  <hongjiu.lu@intel.com>
>
>         * config.gcc: Support --with-cpu=ia.
>
>         * config/i386/i386.c (cpu_names): Add "ia".
>         (processor_alias_table): Likewise.
>         (ix86_option_override_internal): Disallow -march=ia.
>         * config/i386/i386.h (target_cpu_default): Add
>         TARGET_CPU_DEFAULT_ia.
>
>         * doc/invoke.texi: Document -mtune=ia.

OK for mainline.

This option should also be mentioned in gcc-4.9 changes.html.

Thanks,
Uros.


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