diff options
author | Chung-Ju Wu <jasonwucj@gmail.com> | 2013-11-28 09:03:25 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2013-11-28 09:03:25 +0000 |
commit | 506cb36189212c2237b9c2e617a57edda3ecd736 (patch) | |
tree | 896a1dbfe4afbeb63ac945bb158577391c51ca39 | |
parent | e361382f655dcba3b6538d9157c6d378db57158b (diff) | |
download | gcc-506cb36189212c2237b9c2e617a57edda3ecd736.zip gcc-506cb36189212c2237b9c2e617a57edda3ecd736.tar.gz gcc-506cb36189212c2237b9c2e617a57edda3ecd736.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/nds32/nds32.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4a1a22..7438fe0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-28 Chung-Ju Wu <jasonwucj@gmail.com> + + * config/nds32/nds32.c (nds32_rtx_costs): Adjust MULT cost if it is + not optimized for size. + 2013-11-28 Jakub Jelinek <jakub@redhat.com> * 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 008f088..124b1af 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: |