diff options
author | Richard Stallman <rms@gnu.org> | 1993-09-09 19:19:51 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-09-09 19:19:51 +0000 |
commit | 81722fa979363c046801022c0c2c517f6ce3f0f7 (patch) | |
tree | 63d3258e187ee41731386ce0ced7de3ce3e46969 /gcc/expmed.c | |
parent | b0bfa186290fe040e5451e4de867c7ec87d626cb (diff) | |
download | gcc-81722fa979363c046801022c0c2c517f6ce3f0f7.zip gcc-81722fa979363c046801022c0c2c517f6ce3f0f7.tar.gz gcc-81722fa979363c046801022c0c2c517f6ce3f0f7.tar.bz2 |
(emit_store_flag, expand_divmod): Use convert_modes.
From-SVN: r5295
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index d638339..21c771c 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -2369,9 +2369,9 @@ expand_divmod (rem_flag, code, mode, op0, op1, target, unsignedp) something. */ if (compute_mode != mode) { - adjusted_op0 = op0 = convert_to_mode (compute_mode, op0, unsignedp); + adjusted_op0 = op0 = convert_modes (compute_mode, mode, op0, unsignedp); can_clobber_op0 = 1; - op1 = convert_to_mode (compute_mode, op1, unsignedp); + op1 = convert_modes (compute_mode, mode, op1, unsignedp); } /* If we are computing the remainder and one of the operands is a volatile @@ -2887,7 +2887,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep) if (GET_MODE_SIZE (target_mode) > GET_MODE_SIZE (mode)) { op0 = protect_from_queue (op0, 0); - op0 = convert_to_mode (target_mode, op0, 0); + op0 = convert_modes (target_mode, mode, op0, 0); mode = target_mode; } @@ -3127,9 +3127,9 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep) tem = expand_unop (mode, ffs_optab, op0, subtarget, 1); else if (GET_MODE_SIZE (mode) < UNITS_PER_WORD) { - mode = word_mode; op0 = protect_from_queue (op0, 0); - tem = convert_to_mode (mode, op0, 1); + tem = convert_to_mode (word_mode, mode, op0, 1); + mode = word_mode; } if (tem != 0) |