i386.c (znver1_cost): Set branch_cost to 3 (instead of 2) to improve monte carlo in scimark.

* i386.c (znver1_cost): Set branch_cost to 3 (instead of 2)
	to improve monte carlo in scimark.

From-SVN: r253449
This commit is contained in:
Jan Hubicka 2017-10-05 17:00:25 +02:00 committed by Jan Hubicka
parent a813c28053
commit 0086058964
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2017-10-05 Jan Hubicka <hubicka@ucw.cz>
* i386.c (znver1_cost): Set branch_cost to 3 (instead of 2)
to improve monte carlo in scimark.
2017-10-05 Jan Hubicka <hubicka@ucw.cz>
* i386.c (ix86_size_cost, i386_cost, i486_cost, pentium_cost,

View file

@ -1421,7 +1421,7 @@ struct processor_costs znver1_cost = {
to limit number of prefetches at all, as their execution also takes some
time). */
100, /* number of parallel prefetches. */
2, /* Branch cost. */
3, /* Branch cost. */
COSTS_N_INSNS (6), /* cost of FADD and FSUB insns. */
COSTS_N_INSNS (6), /* cost of FMUL instruction. */
COSTS_N_INSNS (42), /* cost of FDIV instruction. */