From 506cb36189212c2237b9c2e617a57edda3ecd736 Mon Sep 17 00:00:00 2001 From: Chung-Ju Wu Date: Thu, 28 Nov 2013 09:03:25 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/nds32/nds32.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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: -- 2.47.3