[arm] Tweak FPA frame notes.
Richard Earnshaw
rearnsha@gcc.gnu.org
Tue Aug 3 14:27:00 GMT 2004
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.
More information about the Gcc-patches
mailing list