OSDN Git Service

(expand_mult_highpart): Revert last change.
authortege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jul 1996 14:26:56 +0000 (14:26 +0000)
committertege <tege@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jul 1996 14:26:56 +0000 (14:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12512 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/expmed.c

index 459d284..2f6ff93 100644 (file)
@@ -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,