summaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-06-28 14:24:24 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-06-28 14:24:24 -0400
commit2d226eb101981e1c00dba984fc282b28ed6ff82f (patch)
treec011fa38c49874fd1b8f61f340d844fe61621331 /gcc/expmed.c
parent9e6c9f598a92fb22cea316e07382640d2fe221e6 (diff)
downloadgcc-2d226eb101981e1c00dba984fc282b28ed6ff82f.tar.gz
(expand_mult_highpart): Use op1 not wide_op1 in expansion of
mul_highpart. From-SVN: r12361
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index a5939423034..a89f17b55f7 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, wide_op1, target, unsignedp, OPTAB_DIRECT);
+ op0, 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, wide_op1, target, unsignedp, OPTAB_DIRECT);
+ op0, op1, target, unsignedp, OPTAB_DIRECT);
if (target)
/* We used the wrong signedness. Adjust the result. */
return expand_mult_highpart_adjust (mode, target, op0,