diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2013-12-06 17:36:22 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2013-12-06 09:36:22 -0800 |
commit | 86bb84f1786df77d0bd5087a7d88f028fc22fe53 (patch) | |
tree | 6af9022dc9606f2b0450266c165f1f10aa230100 /gcc/config | |
parent | 6b3d1113456722cb2b68a83d5ecdbca748a16055 (diff) | |
download | gcc-86bb84f1786df77d0bd5087a7d88f028fc22fe53.zip gcc-86bb84f1786df77d0bd5087a7d88f028fc22fe53.tar.gz gcc-86bb84f1786df77d0bd5087a7d88f028fc22fe53.tar.bz2 |
Change -mtune=ia to -mtune=intel
* config.gcc: Change --with-cpu=ia to --with-cpu=intel.
* config/i386/i386.c (cpu_names): Replace "ia" with "intel".
(processor_alias_table): Likewise.
(ix86_option_override_internal): Likewise.
* config/i386/i386.h (target_cpu_default): Replace
TARGET_CPU_DEFAULT_ia with TARGET_CPU_DEFAULT_intel.
* doc/invoke.texi: Replace -mtune=ia with -mtune=intel.
From-SVN: r205754
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/i386.c | 8 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c742659..5dde632 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2434,7 +2434,7 @@ static const char *const cpu_names[TARGET_CPU_DEFAULT_max] = "core-avx2", "atom", "slm", - "ia", + "intel", "geode", "k6", "k6-2", @@ -3143,7 +3143,7 @@ ix86_option_override_internal (bool main_args_p, PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_SSSE3 | PTA_SSE4_1 | PTA_SSE4_2 | PTA_CX16 | PTA_POPCNT | PTA_AES | PTA_PCLMUL | PTA_RDRND | PTA_MOVBE | PTA_FXSR}, - {"ia", PROCESSOR_SLM, CPU_SLM, + {"intel", PROCESSOR_SLM, CPU_SLM, PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_SSSE3 | PTA_SSE4_1 | PTA_SSE4_2 | PTA_CX16 | PTA_POPCNT | PTA_FXSR}, {"geode", PROCESSOR_GEODE, CPU_GEODE, @@ -3632,8 +3632,8 @@ ix86_option_override_internal (bool main_args_p, if (!strcmp (opts->x_ix86_arch_string, "generic")) error ("generic CPU can be used only for %stune=%s %s", prefix, suffix, sw); - else if (!strcmp (ix86_arch_string, "ia")) - error ("ia CPU can be used only for %stune=%s %s", + else if (!strcmp (ix86_arch_string, "intel")) + error ("intel CPU can be used only for %stune=%s %s", prefix, suffix, sw); else if (!strncmp (opts->x_ix86_arch_string, "generic", 7) || i == pta_size) error ("bad value (%s) for %sarch=%s %s", diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index db81aea..7efd1e0 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -626,7 +626,7 @@ enum target_cpu_default TARGET_CPU_DEFAULT_haswell, TARGET_CPU_DEFAULT_atom, TARGET_CPU_DEFAULT_slm, - TARGET_CPU_DEFAULT_ia, + TARGET_CPU_DEFAULT_intel, TARGET_CPU_DEFAULT_geode, TARGET_CPU_DEFAULT_k6, |