Commit 4df362ed by Venkataramanan Kumar Committed by Venkataramanan Kumar

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
parent bdf2429b
2016-03-05 Venkataramanan Kumar <Venkataramanan.kumar@amd.com> 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. Fix sseimul type attribute.
* config/i386/znver1.md * config/i386/znver1.md
(znver1_sseimul, znver1_sseimul_avx256, znver1_sseimul_load, (znver1_sseimul, znver1_sseimul_avx256, znver1_sseimul_load,
......
...@@ -1350,11 +1350,11 @@ struct processor_costs znver1_cost = { ...@@ -1350,11 +1350,11 @@ struct processor_costs znver1_cost = {
COSTS_N_INSNS (1), /* cost of a lea instruction. */ COSTS_N_INSNS (1), /* cost of a lea instruction. */
COSTS_N_INSNS (1), /* variable shift costs. */ COSTS_N_INSNS (1), /* variable shift costs. */
COSTS_N_INSNS (1), /* constant shift costs. */ COSTS_N_INSNS (1), /* constant shift costs. */
{COSTS_N_INSNS (4), /* cost of starting multiply for QI. */ {COSTS_N_INSNS (3), /* cost of starting multiply for QI. */
COSTS_N_INSNS (4), /* HI. */ COSTS_N_INSNS (3), /* HI. */
COSTS_N_INSNS (4), /* SI. */ COSTS_N_INSNS (3), /* SI. */
COSTS_N_INSNS (6), /* DI. */ COSTS_N_INSNS (4), /* DI. */
COSTS_N_INSNS (6)}, /* other. */ COSTS_N_INSNS (4)}, /* other. */
0, /* cost of multiply per each bit 0, /* cost of multiply per each bit
set. */ set. */
{COSTS_N_INSNS (19), /* cost of a divide/mod for QI. */ {COSTS_N_INSNS (19), /* cost of a divide/mod for QI. */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment