This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i386 prologues/epilogues tweeks


On Tue, Jun 12, 2001 at 08:02:56PM +0200, Jan Hubicka wrote:
> + ix86_emit_save_regs_using_mov (pointer, offset)
> + 	rtx pointer;
> + 	int offset;
> + {
> +   int regno;
> + 
> +   for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++)
> +     if (ix86_save_reg (regno))
> +       {
> + 	emit_move_insn (adj_offsettable_operand (gen_rtx_MEM (Pmode,
> + 							      pointer),
> + 						 offset),
> + 			gen_rtx_REG (Pmode, regno));
> + 	offset += UNITS_PER_WORD;

This can't be right.  You're not tagging these with FRAME_RELATED_P etc.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]