This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Add PROCESSOR_INTEL
- 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: Sat, 11 Jan 2014 09:02:27 +0100
- Subject: Re: PATCH: Add PROCESSOR_INTEL
- Authentication-results: sourceware.org; auth=none
- References: <20140110222900 dot GA3243 at intel dot com>
On Fri, Jan 10, 2014 at 11:29 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> This patch adds PROCESSOR_INTEL, which is almost identical to
> PROCESSOR_SILVERMONT, except that __tune_slm__/__tune_silvermont__
> aren't defined for -mtune=intel. OK for trunk?
No, we have said that -mtune=intel is used to tune for *current* intel
processor. It is not a target per itself. Currently, this "target"
points to PROCESSOR_SILVERMONT, and I see no problem if it also
defines relevant tune defines.
In future, this option will point to some other processor, so it will
switch tune defines as well.
Uros.