From: Chung-Ju Wu Date: Thu, 28 Nov 2013 09:03:25 +0000 (+0000) Subject: nds32.c (nds32_rtx_costs): Adjust MULT cost if it is not optimized for size. X-Git-Tag: releases/gcc-4.9.0~2398 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=506cb36189212c2237b9c2e617a57edda3ecd736;p=thirdparty%2Fgcc.git nds32.c (nds32_rtx_costs): Adjust MULT cost if it is not optimized for size. * config/nds32/nds32.c (nds32_rtx_costs): Adjust MULT cost if it is not optimized for size. From-SVN: r205478 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4a1a221240f..7438fe04f25b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-28 Chung-Ju Wu + + * config/nds32/nds32.c (nds32_rtx_costs): Adjust MULT cost if it is + not optimized for size. + 2013-11-28 Jakub Jelinek * cfgexpand.c (struct stack_vars_data): Add asan_base and asan_alignb diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c index 008f088df571..124b1af8a2cb 100644 --- a/gcc/config/nds32/nds32.c +++ b/gcc/config/nds32/nds32.c @@ -2471,7 +2471,7 @@ performance_cost: break; case MULT: - *total = COSTS_N_INSNS (5); + *total = COSTS_N_INSNS (1); break; case DIV: