PATCH RFA: Split stack [4/7]: REF_CFA_TEMPORARY

Ian Lance Taylor iant@google.com
Thu Sep 23 08:10:00 GMT 2010


This is the fourth of the -fsplit-stack patches.  This patch adds a new
feature to the DWARF frame note.  If an insn has a new REG_CFA_TEMPORARY
note, then the CFA is set to the value of the note only for that insn.
The i386 backend uses this new feature to set the unwind information for
a special ret instruction that it uses to permit the processor to do
call/return prediction.

This patch is in the middle-end and as such does not require approval,
but as it is somewhat unrelated to the rest of the patches I am
separating it out for possible comment.

Ian


2010-09-21  Ian Lance Taylor  <iant@google.com>

	* reg-notes.def (CFA_TEMPORARY): New note.
	* dwarf2out.c (dwarf2out_frame_debug): Handle REG_CFA_TEMPORARY.
	(dwarf2out_cfi_begin_epilogue): Call
	dwarf2out_frame_debug_remember_state.
	(dwarf2out_frame_debug_remember_state): New static function,
	broken out of dwarf2out_cfi_begin_epilogue.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: split-3.patch
Type: text/x-diff
Size: 2219 bytes
Desc: split4
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100923/52a7cc41/attachment.bin>


More information about the Gcc-patches mailing list