This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386 prologues/epilogues tweeks
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: i386 prologues/epilogues tweeks
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 12 Jun 2001 13:01:58 -0700
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010612200256.E18079@atrey.karlin.mff.cuni.cz>
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~