summaryrefslogtreecommitdiffstats
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-24 20:38:59 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-24 20:38:59 +0000
commita95bd78053d406b8805a71771e8e686f7ebdeef4 (patch)
tree828057c4687d4f96aef70cc16e0b9d50417bc785 /gcc/expmed.c
parentb58cfaa6d8a2762c19692952b820173ee55b9008 (diff)
downloadppe42-gcc-a95bd78053d406b8805a71771e8e686f7ebdeef4.tar.gz
ppe42-gcc-a95bd78053d406b8805a71771e8e686f7ebdeef4.zip
PR middle-end/15239
* expmed.c (expand_mult): Remove artificial restriction on the maximum cost of a synthetic multiplication sequence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83610 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index ae76695a133..c8625036425 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -2664,7 +2664,6 @@ expand_mult (enum machine_mode mode, rtx op0, rtx op1, rtx target,
&& (unsignedp || !flag_trapv))
{
int mult_cost = rtx_cost (gen_rtx_MULT (mode, op0, op1), SET);
- mult_cost = MIN (12 * add_cost[mode], mult_cost);
if (choose_mult_variant (mode, INTVAL (const_op1), &algorithm, &variant,
mult_cost))
OpenPOWER on IntegriCloud