expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when mode instead of...
authorGeoff Keating <geoffk@cygnus.com>
Mon, 3 Jul 2000 19:33:09 +0000 (19:33 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Mon, 3 Jul 2000 19:33:09 +0000 (19:33 +0000)
* expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
mode instead of wider_mode is being used.

From-SVN: r34851

gcc/ChangeLog
gcc/expmed.c

index 3d6e93e2642fe9f226f97b74e1886f5e02babe8a..a14e7638a8abc975f07f5402558f65a2d2628295 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-03  Geoff Keating  <geoffk@cygnus.com>
+
+       * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
+       mode instead of wider_mode is being used.
+
 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
 
        * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
index 883d33f470c3edab333c859809de7c931e07e7b0..778e990d819666cb98c4b760872634b4c5b5b66c 100644 (file)
@@ -2785,7 +2785,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;
     }
@@ -2796,7 +2796,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,