From eb6c3df1a0e34edc7a243c781a1b8842e3fc285c Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 29 Apr 2011 14:20:41 +0000 Subject: expr.h (expand_shift): Rename to ... 2011-04-29 Richard Guenther * expr.h (expand_shift): Rename to ... (expand_variable_shift): ... this. (expand_shift): Take a constant shift amount. * expmed.c (expand_shift): Rename to ... (expand_variable_shift): ... this. (expand_shift): New wrapper around expand_variable_shift. * expr.c (convert_move, emit_group_load_1, emit_group_store, optimize_bitfield_assignment_op, store_field, expand_expr_real_2, expand_expr_real_1, reduce_to_bit_field_precision): Adjust. * expmed.c (store_fixed_bit_field, extract_bit_field_1, extract_fixed_bit_field, extract_split_bit_field, expand_mult_const, expand_mult, expand_widening_mult, expand_mult_highpart_adjust, extract_high_half, expand_sdiv_pow2, expand_divmod, emit_cstore, emit_store_flag_1, emit_store_flag): Likewise. * builtins.c (expand_builtin_signbit): Likewise. * calls.c (load_register_parameters): Likewise. * function.c (assign_parm_setup_block): Likewise. * lower-subreg.c (resolve_shift_zext): Likewise. * optabs.c (widen_bswap, expand_abs_nojump, expand_one_cmpl_abs_nojump, expand_float): Likewise. * spu/spu.c (spu_expand_extv): Likewise. * sparc/sparc.c (sparc32_initialize_trampoline): Likewise. From-SVN: r173157 --- gcc/lower-subreg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc/lower-subreg.c') diff --git a/gcc/lower-subreg.c b/gcc/lower-subreg.c index 5f988a95..2119c09 100644 --- a/gcc/lower-subreg.c +++ b/gcc/lower-subreg.c @@ -1039,8 +1039,7 @@ resolve_shift_zext (rtx insn) src_reg = expand_shift (GET_CODE (op) == ASHIFT ? LSHIFT_EXPR : RSHIFT_EXPR, word_mode, src_reg, - build_int_cst (NULL_TREE, - shift_count - BITS_PER_WORD), + shift_count - BITS_PER_WORD, dest_reg, 1); } -- cgit v1.1