From: Venkataramanan Kumar Date: Sat, 5 Mar 2016 17:20:22 +0000 (+0000) Subject: Fix Multiply costs for AMD -march=znver1. X-Git-Tag: basepoints/gcc-7~561 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4df362edc6ce25e88776d2f5d528772d8dfc2345;p=thirdparty%2Fgcc.git Fix Multiply costs for AMD -march=znver1. 2016-03-05 Venkataramanan Kumar * config/i386/i386.c (znver1_cost): Fix Multiply cost. From-SVN: r234008 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0b7dfd98a9d..2b5549808ee3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-03-05 Venkataramanan Kumar + + * config/i386/i386.c (znver1_cost): Fix Multiply cost. + 2016-03-05 Venkataramanan Kumar Fix sseimul type attribute. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 1f98d5bdd171..27fb15ed7131 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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. */