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: patch: RTL loop optimizer - new target hook in doloop_valid_p


On Wed, May 18, 2005 at 02:30:21PM +0200, Adrian Straetling wrote:
> 	* loop-doloop.c: Include "target.h". 
> 	  (doloop_valid_p): Move tests to function in targhooks.c.
> 	* target.h: (struct gcc_target): New target hook
> 	  "insn_valid_within_doloop".
> 	* target-def.h: Define default value for "insn_valid_within_doloop".
> 	  (TARGET_INITIALIZER): Insert new target hook into initializer.
> 	* targhooks.c: (default_insn_valid_within_doloop): New function.
> 	* targhooks.h: Declare "default_insn_valid_within_doloop".
> 	* hooks.c: (hook_bool_rtx_true): New function.
> 	* hooks.h: Declare "hook_bool_rtx_true".
> 	* doc/tm.texi: Add documentation for new target hook.

Ok.  I should add the same hook_bool_rtx_true for ia64...

Hint to an rs6000 maintainer to move the indirect/tablejump 
check to the rs6000 back end.


r~


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