2005-05-25 Adrian Straetling <straetling@de.ibm.com>
* 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 (default_insn_valid_within_doloop): Declare. * hooks.c (hook_bool_rtx_true): New function. * hooks.h (hook_bool_rtx_true): Declare. * doc/tm.texi: Add documentation for new target hook. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100143 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 14 additions, 0 deletionsgcc/ChangeLog
- gcc/doc/tm.texi 11 additions, 0 deletionsgcc/doc/tm.texi
- gcc/hooks.c 6 additions, 0 deletionsgcc/hooks.c
- gcc/hooks.h 1 addition, 0 deletionsgcc/hooks.h
- gcc/loop-doloop.c 7 additions, 19 deletionsgcc/loop-doloop.c
- gcc/target-def.h 5 additions, 0 deletionsgcc/target-def.h
- gcc/target.h 3 additions, 0 deletionsgcc/target.h
- gcc/targhooks.c 30 additions, 0 deletionsgcc/targhooks.c
- gcc/targhooks.h 2 additions, 0 deletionsgcc/targhooks.h
Loading
Please register or sign in to comment