diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-07-10 10:04:58 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2004-07-10 10:04:58 +0200 |
commit | b352098021d0d7be6f551de3c3ea80979f2e88e9 (patch) | |
tree | e0d000f474ca5433956ca537ca79d4fd2ed1b0b8 /gcc/expr.c | |
parent | 76aa57137c694f75b7b33409b49a5063685fe241 (diff) | |
download | gcc-b352098021d0d7be6f551de3c3ea80979f2e88e9.zip gcc-b352098021d0d7be6f551de3c3ea80979f2e88e9.tar.gz gcc-b352098021d0d7be6f551de3c3ea80979f2e88e9.tar.bz2 |
expr.h (store_bit_field, [...]): Remove last argument.
* expr.h (store_bit_field, extract_bit_field): Remove last argument.
* expmed.c (store_bit_field, extract_bit_field): Remove last
argument.
* builtins.c (expand_builtin_signbit): Adjust callers.
* optabs.c (expand_vector_binop, expand_vector_unop): Likewise.
* calls.c (store_unaligned_arguments_into_pseudos): Likewise.
* ifcvt.c (noce_emit_move_insn): Likewise.
* stmt.c (expand_return): Likewise.
* expr.c (emit_group_load, emit_group_store, copy_blkmode_from_reg,
store_field, expand_expr_real_1): Likewise.
From-SVN: r84447
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -1886,7 +1886,7 @@ emit_group_load (rtx dst, rtx orig_src, tree type ATTRIBUTE_UNUSED, int ssize) && (!REG_P (tmps[i]) || GET_MODE (tmps[i]) != mode)) tmps[i] = extract_bit_field (tmps[i], bytelen * BITS_PER_UNIT, (bytepos % slen0) * BITS_PER_UNIT, - 1, NULL_RTX, mode, mode, ssize); + 1, NULL_RTX, mode, mode); } else if (bytepos == 0) { @@ -1919,7 +1919,7 @@ emit_group_load (rtx dst, rtx orig_src, tree type ATTRIBUTE_UNUSED, int ssize) else tmps[i] = extract_bit_field (src, bytelen * BITS_PER_UNIT, bytepos * BITS_PER_UNIT, 1, NULL_RTX, - mode, mode, ssize); + mode, mode); if (shift) tmps[i] = expand_shift (LSHIFT_EXPR, mode, tmps[i], @@ -2073,7 +2073,7 @@ emit_group_store (rtx orig_dst, rtx src, tree type ATTRIBUTE_UNUSED, int ssize) emit_move_insn (adjust_address (dest, mode, bytepos), tmps[i]); else store_bit_field (dest, bytelen * BITS_PER_UNIT, bytepos * BITS_PER_UNIT, - mode, tmps[i], ssize); + mode, tmps[i]); } emit_queue (); @@ -2159,9 +2159,7 @@ copy_blkmode_from_reg (rtx tgtblk, rtx srcreg, tree type) store_bit_field (dst, bitsize, bitpos % BITS_PER_WORD, word_mode, extract_bit_field (src, bitsize, xbitpos % BITS_PER_WORD, 1, - NULL_RTX, word_mode, word_mode, - BITS_PER_WORD), - BITS_PER_WORD); + NULL_RTX, word_mode, word_mode)); } return tgtblk; @@ -5445,8 +5443,7 @@ store_field (rtx target, HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos, } /* Store the value in the bitfield. */ - store_bit_field (target, bitsize, bitpos, mode, temp, - int_size_in_bytes (type)); + store_bit_field (target, bitsize, bitpos, mode, temp); if (value_mode != VOIDmode) { @@ -5473,8 +5470,7 @@ store_field (rtx target, HOST_WIDE_INT bitsize, HOST_WIDE_INT bitpos, } return extract_bit_field (target, bitsize, bitpos, unsignedp, - NULL_RTX, value_mode, VOIDmode, - int_size_in_bytes (type)); + NULL_RTX, value_mode, VOIDmode); } return const0_rtx; } @@ -7303,8 +7299,7 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, op0 = extract_bit_field (op0, bitsize, bitpos, unsignedp, (modifier == EXPAND_STACK_PARM ? NULL_RTX : target), - ext_mode, ext_mode, - int_size_in_bytes (TREE_TYPE (tem))); + ext_mode, ext_mode); /* If the result is a record type and BITSIZE is narrower than the mode of OP0, an integral mode, and this is a big endian |