diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-06-01 21:49:57 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-06-01 21:49:57 +0200 |
commit | 0aa34d44c0dcfba198cd230e5f70cdf1915d0091 (patch) | |
tree | 188a0bf74c9d1ad419b666260514eb386570799f /gcc/print-rtl.c | |
parent | d342c045c5b3b2e3a47814d5bd5894513bda12f1 (diff) | |
download | gcc-0aa34d44c0dcfba198cd230e5f70cdf1915d0091.zip gcc-0aa34d44c0dcfba198cd230e5f70cdf1915d0091.tar.gz gcc-0aa34d44c0dcfba198cd230e5f70cdf1915d0091.tar.bz2 |
i386.c (queued_cfa_restores): New static variable.
* config/i386/i386.c (queued_cfa_restores): New static variable.
(ix86_add_cfa_restore_note, ix86_add_queued_cfa_restore_notes): New
functions.
(pro_epilogue_adjust_stack): Call ix86_add_queued_cfa_restore_notes.
(ix86_emit_restore_reg_using_pop): Add RED_OFFSET argument.
Set RTX_FRAME_RELATED_P immediately after adding a REG_CFA_* note.
Call ix86_add_cfa_restore_note instead of adding REG_CFA_OFFSET
note unconditionally.
(ix86_emit_restore_regs_using_mov): Likewise.
(ix86_emit_restore_sse_regs_using_mov): Likewise.
(ix86_emit_restore_regs_using_pop): Add RED_OFFSET argument, pass
it through to ix86_emit_restore_reg_using_pop.
(ix86_emit_leave): Add RED_OFFSET argument. Call
ix86_add_queued_cfa_restore_notes. Call ix86_add_cfa_restore_note
instead of adding REG_CFA_OFFSET note unconditionally.
(ix86_expand_epilogue): Compute RED_OFFSET, pass it down to
the above functions. Call ix86_add_queued_cfa_restore_notes when
needed.
From-SVN: r148067
Diffstat (limited to 'gcc/print-rtl.c')
0 files changed, 0 insertions, 0 deletions