diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2013-12-23 17:11:00 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2013-12-23 09:11:00 -0800 |
commit | 7c2539fc5a68eb9bd57d3b46855e419821effb23 (patch) | |
tree | 47ca4da3ddf252cc863c3451d215bd6e516d7cc4 /gcc | |
parent | f234d26028c5a031dd4cd5f33133de7b8ae5293c (diff) | |
download | gcc-7c2539fc5a68eb9bd57d3b46855e419821effb23.zip gcc-7c2539fc5a68eb9bd57d3b46855e419821effb23.tar.gz gcc-7c2539fc5a68eb9bd57d3b46855e419821effb23.tar.bz2 |
Move Bonnell and Silvermont entries before generic
* config/i386/i386.c (processor_target_table): Move Bonnell and
Silvermont entries before generic.
From-SVN: r206180
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 14 |
2 files changed, 13 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9fe763..b2f9f6e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-12-23 H.J. Lu <hongjiu.lu@intel.com> + + * config/i386/i386.c (processor_target_table): Move Bonnell and + Silvermont entries before generic. + 2013-12-23 Bingfeng Mei <bmei@broadcom.com> PR middle-end/59569 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2d480b3..ced6618 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2397,12 +2397,16 @@ static const struct ptt processor_target_table[PROCESSOR_max] = {&nocona_cost, 0, 0, 0, 0, 0}, /* Core 2 */ {&core_cost, 16, 10, 16, 10, 16}, - /* Core i7 */ + /* Nehalem */ {&core_cost, 16, 10, 16, 10, 16}, - /* Core i7 avx */ + /* Sandy Bridge */ {&core_cost, 16, 10, 16, 10, 16}, - /* Core avx2 */ + /* Haswell */ {&core_cost, 16, 10, 16, 10, 16}, + /* Bonnell */ + {&atom_cost, 16, 15, 16, 7, 16}, + /* Silvermont */ + {&slm_cost, 16, 15, 16, 7, 16}, {&generic_cost, 16, 10, 16, 10, 16}, {&amdfam10_cost, 32, 24, 32, 7, 32}, {&bdver1_cost, 16, 10, 16, 7, 11}, @@ -2410,9 +2414,7 @@ static const struct ptt processor_target_table[PROCESSOR_max] = {&bdver3_cost, 16, 10, 16, 7, 11}, {&bdver4_cost, 16, 10, 16, 7, 11}, {&btver1_cost, 16, 10, 16, 7, 11}, - {&btver2_cost, 16, 10, 16, 7, 11}, - {&atom_cost, 16, 15, 16, 7, 16}, - {&slm_cost, 16, 15, 16, 7, 16} + {&btver2_cost, 16, 10, 16, 7, 11} }; static const char *const cpu_names[TARGET_CPU_DEFAULT_max] = |