This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [rs6000] fix PR 30282, load from stack moved past stack update
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org, Alan Modra <amodra at gmail dot com>
- Date: Sun, 6 Nov 2011 11:57:02 -0500
- Subject: Re: [rs6000] fix PR 30282, load from stack moved past stack update
- References: <20111104134340.GD22298@bubble.grove.modra.org>
On Fri, Nov 4, 2011 at 9:43 AM, Alan Modra <amodra@gmail.com> wrote:
> This patch fixes PR30282, caused by instructions being scheduled over
> the stack reset. ?Note that only for ABI_V4 do we currently have
> frame_reg_rtx != sp_reg_rtx in rs6000_emit_stack_reset, so the patch
> doesn't emit *less* blockages. ?I did benchmark this change and saw
> nothing but the usual benchmake noise.
>
> Bootstrapped etc. powerpc-linux. ?OK to apply?
>
> ? ? ? ?* config/rs6000/rs6000.c (rs6000_emit_stack_reset): Always emit
> ? ? ? ?blockage for ABI_V4.
Okay.
Thanks, David