r158132 - in /trunk/gcc: ChangeLog config/s390/...
krebbel@gcc.gnu.org
krebbel@gcc.gnu.org
Thu Apr 8 15:08:00 GMT 2010
Author: krebbel
Date: Thu Apr 8 15:07:57 2010
New Revision: 158132
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158132
Log:
2010-04-08 Christian Borntraeger <borntraeger@de.ibm.com>
Wolfgang Gellerich <gellerich@de.ibm.com>
Implement target hook for loop unrolling
* target.h (loop_unroll_adjust): Add a new target hook function.
* target-def.h (TARGET_LOOP_UNROLL_ADJUST): Likewise.
* doc/tm.texi (TARGET_LOOP_UNROLL_ADJUST): Document it.
* config/s390/s390.c (TARGET_LOOP_UNROLL_ADJUST): Define it.
(s390_loop_unroll_adjust): Implement the new target hook for s390.
* loop-unroll.c (decide_unroll_runtime_iterations): Call loop unroll target hook
(decide_unroll_stupid): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/s390/s390.c
trunk/gcc/doc/tm.texi
trunk/gcc/loop-unroll.c
trunk/gcc/target-def.h
trunk/gcc/target.h
More information about the Gcc-cvs
mailing list