diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-07-03 19:33:09 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2000-07-03 19:33:09 +0000 |
commit | 3b5286d750ae58ea5ef78bbdda5197cc4702f282 (patch) | |
tree | 153b283283c356ccf226f8a2ed2daab7cc3acf32 /gcc/expmed.c | |
parent | 5e6d6bf072d5dd205fb968dbaf0492d7389d9026 (diff) | |
download | gcc-3b5286d750ae58ea5ef78bbdda5197cc4702f282.zip gcc-3b5286d750ae58ea5ef78bbdda5197cc4702f282.tar.gz gcc-3b5286d750ae58ea5ef78bbdda5197cc4702f282.tar.bz2 |
expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when mode instead of wider_mode is being used.
* expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
mode instead of wider_mode is being used.
From-SVN: r34851
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 883d33f..778e990 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -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, |