This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add -mtune=ia support
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 5 Dec 2013 21:38:32 +0100
- Subject: Re: [PATCH] Add -mtune=ia support
- Authentication-results: sourceware.org; auth=none
- References: <20131205182254 dot GA17941 at intel dot com>
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.