This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Register window support in DWARF-2


On Wed, Nov 24, 2004 at 12:26:11AM +0100, Eric Botcazou wrote:
> What about adding a new rule to handle UNSPEC_VOLATILEs with the 
> help of a new target hook?  Something like:
> 
>   Rule 15:
>   (set <reg> {unspec, unspec_volatile})
>   effects: target-dependent

That, or a magic attribute, such that

#ifdef HAVE_ATTR_window_save
	if (RTX_FRAME_RELATED_P (insn)
	    && get_attr_window_save (insn))
	 ...
#endif


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]