From: Richard Henderson <rth@redhat.com>
To: gcc-patches@gcc.gnu.org
Cc: richard.earnshaw@arm.com, sje@cup.hp.com, ubizjak@gmail.com,
matt@3am-software.com
Subject: [PATCH 06/12] ia64: Issue REG_CFA_REGISTER for ar.pfs at alloc insn.
Date: Wed, 29 Jun 2011 22:27:00 -0000 [thread overview]
Message-ID: <1309384152-25027-7-git-send-email-rth@redhat.com> (raw)
In-Reply-To: <1309384152-25027-1-git-send-email-rth@redhat.com>
---
gcc/config/ia64/ia64.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c
index c06903d..0a6f2e6 100644
--- a/gcc/config/ia64/ia64.c
+++ b/gcc/config/ia64/ia64.c
@@ -3249,7 +3249,14 @@ ia64_expand_prologue (void)
GEN_INT (current_frame_info.n_local_regs),
GEN_INT (current_frame_info.n_output_regs),
GEN_INT (current_frame_info.n_rotate_regs)));
- RTX_FRAME_RELATED_P (insn) = (current_frame_info.r[reg_save_ar_pfs] != 0);
+ if (current_frame_info.r[reg_save_ar_pfs])
+ {
+ RTX_FRAME_RELATED_P (insn) = 1;
+ add_reg_note (insn, REG_CFA_REGISTER,
+ gen_rtx_SET (VOIDmode,
+ ar_pfs_save_reg,
+ gen_rtx_REG (DImode, AR_PFS_REGNUM)));
+ }
}
/* Set up frame pointer, stack pointer, and spill iterators. */
--
1.7.5.4
next prev parent reply other threads:[~2011-06-29 21:50 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-29 21:50 [PATCH 00/12] Eliminate the text-based dwarf2out interface Richard Henderson
2011-06-29 21:50 ` [PATCH 10/12] ia64: Remove TARGET_DWARF_HANDLE_FRAME_UNSPEC hook Richard Henderson
2011-06-29 21:50 ` [PATCH 12/12] dwarf2out: Remove unused text-based unwind entry points Richard Henderson
2011-06-29 21:50 ` [PATCH 07/12] ia64: Remove ia64_dwarf2out_def_steady_cfa Richard Henderson
2011-06-29 21:50 ` [PATCH 05/12] arm: Use REG_CFA_REGISTER instead of UNSPEC_STACK_ALIGN Richard Henderson
2011-06-29 21:51 ` [PATCH 01/12] dwarf2out: Convert regs_saved_in_regs to VEC Richard Henderson
2011-06-29 21:51 ` [PATCH 02/12] dwarf2out: Handle pc_rtx as return column in REG_CFA_OFFSET too Richard Henderson
2011-06-29 21:51 ` [PATCH 09/12] ia64: Remove dead code in process_epilogue Richard Henderson
2011-06-29 21:54 ` [PATCH 11/12] i386: Always use TARGET_DEEP_BRANCH_PREDICTION Richard Henderson
2011-09-02 11:17 ` Jan Hubicka
2011-06-29 22:26 ` [PATCH 04/12] vax: Emit prologue as rtl Richard Henderson
2011-06-29 23:19 ` Steven Bosscher
2011-06-29 23:34 ` Richard Henderson
2011-06-30 17:41 ` Richard Henderson
2011-06-30 17:47 ` Paul Koning
2011-06-29 22:27 ` [PATCH 08/12] ia64: Use pc_rtx to save the return address Richard Henderson
2011-06-29 22:27 ` Richard Henderson [this message]
2011-06-29 22:33 ` [PATCH 03/12] dwarf2out: Add REG_CFA_FLUSH_QUEUE Richard Henderson
2011-06-30 13:20 ` [PATCH 00/12] Eliminate the text-based dwarf2out interface Bernd Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309384152-25027-7-git-send-email-rth@redhat.com \
--to=rth@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=matt@3am-software.com \
--cc=richard.earnshaw@arm.com \
--cc=sje@cup.hp.com \
--cc=ubizjak@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).