This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: deleted insns ???
- From: Richard Henderson <rth at redhat dot com>
- To: Dmitry <diwil at eis dot ru>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 2 Nov 2002 13:49:18 -0800
- Subject: Re: deleted insns ???
- References: <200211011533.03519.diwil@eis.ru>
On Fri, Nov 01, 2002 at 03:33:03PM +0300, Dmitry wrote:
> if(!const_int_operand(operands[2],VOIDmode))
> {
> operands[0] = force_reg(HImode,operands[0]);
> operands[1] = force_reg(HImode,operands[1]);
> operands[2] = copy_to_mode_reg(HImode,operands[2]);
> emit_insn(gen_ashlhi3_cnt (operands[0], operands[1], operands[2]));
Your bug is that you didn't copy the register back
into the memory destination you were given.
r~