Re: about emit_move_insn in define_expand
Yes, that is what was my first guess. That is the reason we avoid using force_reg in reload pass (by using !no_new_pseudos). Uday Khedker. -- Dr. Uday Khedker Associate Professor Department of Computer Science & Engg. IIT Bombay,
Re: about emit_move_insn in define_expand
(define_expand "movsi" [(set (match_operand:SI 0 "nonimmediate_operand" "") (match_operand:SI 1 "general_operand" "") )] "" { if(GET_CODE(operands[0])==MEM && GET_CODE(operands[1])!=REG) { if(!no_new_pseudos) { operands[1]=force_reg(