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
This commit is contained in:
Richard Biener 2015-04-13 07:33:51 +00:00 committed by Richard Biener
parent 61ebff31f4
commit c5faf03d0d
2 changed files with 17 additions and 8 deletions

View File

@ -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> 2015-04-12 Jan Hubicka <hubicka@ucw.cz>
* hash-table.h (hash_table constructor): Add mem stats. * hash-table.h (hash_table constructor): Add mem stats.

View File

@ -1025,8 +1025,8 @@ const struct processor_costs bdver1_cost = {
4, /* vec_align_load_cost. */ 4, /* vec_align_load_cost. */
4, /* vec_unalign_load_cost. */ 4, /* vec_unalign_load_cost. */
4, /* vec_store_cost. */ 4, /* vec_store_cost. */
2, /* cond_taken_branch_cost. */ 4, /* cond_taken_branch_cost. */
1, /* cond_not_taken_branch_cost. */ 2, /* cond_not_taken_branch_cost. */
}; };
/* BDVER2 has optimized REP instruction for medium sized blocks, but for /* 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_align_load_cost. */
4, /* vec_unalign_load_cost. */ 4, /* vec_unalign_load_cost. */
4, /* vec_store_cost. */ 4, /* vec_store_cost. */
2, /* cond_taken_branch_cost. */ 4, /* cond_taken_branch_cost. */
1, /* cond_not_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_align_load_cost. */
4, /* vec_unalign_load_cost. */ 4, /* vec_unalign_load_cost. */
4, /* vec_store_cost. */ 4, /* vec_store_cost. */
2, /* cond_taken_branch_cost. */ 4, /* cond_taken_branch_cost. */
1, /* cond_not_taken_branch_cost. */ 2, /* cond_not_taken_branch_cost. */
}; };
/* BDVER4 has optimized REP instruction for medium sized blocks, but for /* 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_align_load_cost. */
4, /* vec_unalign_load_cost. */ 4, /* vec_unalign_load_cost. */
4, /* vec_store_cost. */ 4, /* vec_store_cost. */
2, /* cond_taken_branch_cost. */ 4, /* cond_taken_branch_cost. */
1, /* cond_not_taken_branch_cost. */ 2, /* cond_not_taken_branch_cost. */
}; };
/* BTVER1 has optimized REP instruction for medium sized blocks, but for /* BTVER1 has optimized REP instruction for medium sized blocks, but for