This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [arm] Tweak FPA frame notes.
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 03 Aug 2004 15:27:07 +0100
- Subject: Re: [arm] Tweak FPA frame notes.
- Organization: GNU
- References: <200408031519.34226.paul@codesourcery.com>
On Tue, 2004-08-03 at 15:19, Paul Brook wrote:
> The patch below creates FPA store-multiple frame notes in the same format as
> other store-multiple instructions.
>
> Before the patch we emit
> (parallel (set (mem (pre_dec ...)) (reg)) ...)
>
> And afterwards
> (sequence (set <sp> (plus <sp> <count*12>))
> (set (mem (plus <sp> <constant>))) ...)
>
> This simplifies future code to generate unwind directives, and removes a
> redundant frame address adjustment in the existing output.
>
> Tested by visually inspecting the resulting .debug_frame output.
> Ok?
>
> Paul
>
> 2004-08-03 Paul Brook <paul@codesourcery.com>
>
> * config/arm/arm.c (emit_sfm): Only emit a single frame adjustment.
OK.
R.