aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1996-07-17 14:26:56 +0000
committerTorbjorn Granlund <tege@gnu.org>1996-07-17 14:26:56 +0000
commit24dcc9c5c1cdb83c1bd95e19708bd56aebf69022 (patch)
tree80e83bca521f5805e422524e618763c3e820c864
parentae40770430dd80f662299525dfe9865c9fab65fe (diff)
downloadgcc-24dcc9c5c1cdb83c1bd95e19708bd56aebf69022.zip
gcc-24dcc9c5c1cdb83c1bd95e19708bd56aebf69022.tar.gz
gcc-24dcc9c5c1cdb83c1bd95e19708bd56aebf69022.tar.bz2
(expand_mult_highpart): Revert last change.
From-SVN: r12512
-rw-r--r--gcc/expmed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 459d284..2f6ff93 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -2596,7 +2596,7 @@ expand_mult_highpart (mode, op0, cnst1, target, unsignedp, max_cost)
{
mul_highpart_optab = unsignedp ? umul_highpart_optab : smul_highpart_optab;
target = expand_binop (mode, mul_highpart_optab,
- op0, op1, target, unsignedp, OPTAB_DIRECT);
+ op0, wide_op1, target, unsignedp, OPTAB_DIRECT);
if (target)
return target;
}
@@ -2607,7 +2607,7 @@ expand_mult_highpart (mode, op0, cnst1, target, unsignedp, max_cost)
{
mul_highpart_optab = unsignedp ? smul_highpart_optab : umul_highpart_optab;
target = expand_binop (mode, mul_highpart_optab,
- op0, op1, target, unsignedp, OPTAB_DIRECT);
+ op0, wide_op1, target, unsignedp, OPTAB_DIRECT);
if (target)
/* We used the wrong signedness. Adjust the result. */
return expand_mult_highpart_adjust (mode, target, op0,