diff options
author | Richard Biener <rguenther@suse.de> | 2015-04-13 07:33:51 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-04-13 07:33:51 +0000 |
commit | c5faf03d0d746cd52b13f086ad68e65819289cb5 (patch) | |
tree | f0c8f64aec0b67411f4cef95a7e25582082dc6f6 | |
parent | 61ebff31f4524ebc18dcf53d2fffab0fa1ba5ef3 (diff) | |
download | gcc-c5faf03d0d746cd52b13f086ad68e65819289cb5.zip gcc-c5faf03d0d746cd52b13f086ad68e65819289cb5.tar.gz gcc-c5faf03d0d746cd52b13f086ad68e65819289cb5.tar.bz2 |
re PR target/65660 (252.eon regression on bdver2 with -Ofast)
2015-04-13 Richard Biener <rguenther@suse.de>
PR target/65660
* config/i386/i386.c (bdver1_cost): Double cond_taken_branch_cost
and cond_not_taken_branch_cost to 4 and 2.
(bdver2_cost): Likewise.
(bdver3_cost): Likewise.
(bdver4_cost): Likewise.
From-SVN: r222040
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 16 |
2 files changed, 17 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d3495f..e81d6da 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2015-04-13 Richard Biener <rguenther@suse.de> + + PR target/65660 + * config/i386/i386.c (bdver1_cost): Double cond_taken_branch_cost + and cond_not_taken_branch_cost to 4 and 2. + (bdver2_cost): Likewise. + (bdver3_cost): Likewise. + (bdver4_cost): Likewise. + 2015-04-12 Jan Hubicka <hubicka@ucw.cz> * hash-table.h (hash_table constructor): Add mem stats. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b442da9..3263656 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1025,8 +1025,8 @@ const struct processor_costs bdver1_cost = { 4, /* vec_align_load_cost. */ 4, /* vec_unalign_load_cost. */ 4, /* vec_store_cost. */ - 2, /* cond_taken_branch_cost. */ - 1, /* cond_not_taken_branch_cost. */ + 4, /* cond_taken_branch_cost. */ + 2, /* cond_not_taken_branch_cost. */ }; /* BDVER2 has optimized REP instruction for medium sized blocks, but for @@ -1121,8 +1121,8 @@ const struct processor_costs bdver2_cost = { 4, /* vec_align_load_cost. */ 4, /* vec_unalign_load_cost. */ 4, /* vec_store_cost. */ - 2, /* cond_taken_branch_cost. */ - 1, /* cond_not_taken_branch_cost. */ + 4, /* cond_taken_branch_cost. */ + 2, /* cond_not_taken_branch_cost. */ }; @@ -1208,8 +1208,8 @@ struct processor_costs bdver3_cost = { 4, /* vec_align_load_cost. */ 4, /* vec_unalign_load_cost. */ 4, /* vec_store_cost. */ - 2, /* cond_taken_branch_cost. */ - 1, /* cond_not_taken_branch_cost. */ + 4, /* cond_taken_branch_cost. */ + 2, /* cond_not_taken_branch_cost. */ }; /* BDVER4 has optimized REP instruction for medium sized blocks, but for @@ -1294,8 +1294,8 @@ struct processor_costs bdver4_cost = { 4, /* vec_align_load_cost. */ 4, /* vec_unalign_load_cost. */ 4, /* vec_store_cost. */ - 2, /* cond_taken_branch_cost. */ - 1, /* cond_not_taken_branch_cost. */ + 4, /* cond_taken_branch_cost. */ + 2, /* cond_not_taken_branch_cost. */ }; /* BTVER1 has optimized REP instruction for medium sized blocks, but for |