This is the mail archive of the gcc-patches@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: [RFA:] Change TARGET_MD_ASM_CLOBBERS to take output and input lists as well.


On Sun, Feb 27, 2005 at 05:28:00PM +0100, Hans-Peter Nilsson wrote:
> 	* doc/tm.texi (TARGET_MD_ASM_CLOBBERS): Adjust wording to not
> 	imply that this is called once, independent of asms in code.
> 	Adjust to now being pased output and input lists.  Mention helper
> 	function decl_overlaps_hard_reg_set_p.
> 	* hooks.c (hook_tree_tree_tree_tree_3rd_identity): Rename from
> 	hook_tree_tree_identity and to take three trees, returning third.
> 	* hooks.h (hook_tree_tree_tree_tree_3rd_identity): Adjust the
> 	prototype.
> 	* stmt.c: include hard-reg-set.h before tree.h.
> 	(decl_overlaps_hard_reg_set_p): New function, broken out from...
> 	(decl_conflicts_with_clobbers_p): Call
> 	decl_overlaps_hard_reg_set_p.
> 	(expand_asm_operands): Pass output and input lists in call to
> 	targetm.md_asm_clobbers.
> 	* target-def.h (TARGET_MD_ASM_CLOBBERS): Define as
> 	hook_tree_tree_tree_tree_3rd_identity.
> 	* target.h (struct gcc_target.md_asm_clobbers): Take three tree
> 	parameters.
> 	* tree.h [HARD_CONST] (decl_overlaps_hard_reg_set_p): Prototype.
> 	* config/i386/i386.c (ix86_md_asm_clobbers): Adjust to three
> 	parameters, first two unused.

Ok.


r~


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