Message ID | 1281007043.26270.1.camel@localhost |
---|---|
State | New |
Headers | show |
On 08/05/2010 01:17 PM, Uros Bizjak wrote: > Index: expmed.c > =================================================================== > --- expmed.c (revision 162899) > +++ expmed.c (working copy) > @@ -2904,9 +2904,11 @@ expand_mult_const (enum machine_mode mod > switch (alg->op[opno]) > { > case alg_shift: > - accum = expand_shift (LSHIFT_EXPR, mode, accum, > - build_int_cst (NULL_TREE, log), > - NULL_RTX, 0); > + tem = expand_shift (LSHIFT_EXPR, mode, accum, > + build_int_cst (NULL_TREE, log), > + NULL_RTX, 0); > + /* REG_EQUAL note will be attached to the following insn. */ > + emit_move_insn (accum, tem); > val_so_far <<= log; > break; Ok. Bernd
Index: expmed.c =================================================================== --- expmed.c (revision 162899) +++ expmed.c (working copy) @@ -2904,9 +2904,11 @@ expand_mult_const (enum machine_mode mod switch (alg->op[opno]) { case alg_shift: - accum = expand_shift (LSHIFT_EXPR, mode, accum, - build_int_cst (NULL_TREE, log), - NULL_RTX, 0); + tem = expand_shift (LSHIFT_EXPR, mode, accum, + build_int_cst (NULL_TREE, log), + NULL_RTX, 0); + /* REG_EQUAL note will be attached to the following insn. */ + emit_move_insn (accum, tem); val_so_far <<= log; break;