diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-06-28 18:24:24 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-06-28 18:24:24 +0000 |
commit | 262ad7b2b10e214fbd19463b1dd452ccf0eb7305 (patch) | |
tree | c011fa38c49874fd1b8f61f340d844fe61621331 /gcc/expmed.c | |
parent | 362e8d372cd9c2cc783a9cdda29111b48709405a (diff) | |
download | gcc-262ad7b2b10e214fbd19463b1dd452ccf0eb7305.tar.gz |
(expand_mult_highpart): Use op1 not wide_op1 in expansion of
mul_highpart.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12361 138bc75d-0d04-0410-961f-82ee72b054a4
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 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, |