Fix Multiply costs for AMD -march=znver1.

2016-03-05  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>

        * config/i386/i386.c (znver1_cost): Fix Multiply cost.

From-SVN: r234008
This commit is contained in:
Venkataramanan Kumar 2016-03-05 17:20:22 +00:00 committed by Venkataramanan Kumar
parent bdf2429be8
commit 4df362edc6
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2016-03-05 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
* config/i386/i386.c (znver1_cost): Fix Multiply cost.
2016-03-05 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
Fix sseimul type attribute.

View file

@ -1350,11 +1350,11 @@ struct processor_costs znver1_cost = {
COSTS_N_INSNS (1), /* cost of a lea instruction. */
COSTS_N_INSNS (1), /* variable shift costs. */
COSTS_N_INSNS (1), /* constant shift costs. */
{COSTS_N_INSNS (4), /* cost of starting multiply for QI. */
COSTS_N_INSNS (4), /* HI. */
COSTS_N_INSNS (4), /* SI. */
COSTS_N_INSNS (6), /* DI. */
COSTS_N_INSNS (6)}, /* other. */
{COSTS_N_INSNS (3), /* cost of starting multiply for QI. */
COSTS_N_INSNS (3), /* HI. */
COSTS_N_INSNS (3), /* SI. */
COSTS_N_INSNS (4), /* DI. */
COSTS_N_INSNS (4)}, /* other. */
0, /* cost of multiply per each bit
set. */
{COSTS_N_INSNS (19), /* cost of a divide/mod for QI. */