]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
nds32.c (nds32_rtx_costs): Adjust MULT cost if it is not optimized for size.
authorChung-Ju Wu <jasonwucj@gmail.com>
Thu, 28 Nov 2013 09:03:25 +0000 (09:03 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Thu, 28 Nov 2013 09:03:25 +0000 (09:03 +0000)
* config/nds32/nds32.c (nds32_rtx_costs): Adjust MULT cost if it is
not optimized for size.

From-SVN: r205478

gcc/ChangeLog
gcc/config/nds32/nds32.c

index c4a1a221240f071e2a036c30631c5d7bc02191e8..7438fe04f25be0261fce643cd3ca6b0626d68844 100644 (file)
@@ -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
index 008f088df571ed7497343c9ad8cf89c7913ad639..124b1af8a2cb5ce70ab34faf587ef9f2cb2b9889 100644 (file)
@@ -2471,7 +2471,7 @@ performance_cost:
       break;
 
     case MULT:
-      *total = COSTS_N_INSNS (5);
+      *total = COSTS_N_INSNS (1);
       break;
 
     case DIV: