]> gcc.gnu.org Git - gcc.git/commit
Implement target hook for loop unrolling
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 8 Apr 2010 15:07:57 +0000 (15:07 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 8 Apr 2010 15:07:57 +0000 (15:07 +0000)
commit40ac4f73faa256e049279c1611d47a685ff7f370
tree0ebeefa37492fc33063a9f55bc090391a092d0fd
parent07c60ef701e0fe0c65f0186bd521ee83b6c24c3c
Implement target hook for loop unrolling

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.

Co-Authored-By: Wolfgang Gellerich <gellerich@de.ibm.com>
From-SVN: r158132
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/doc/tm.texi
gcc/loop-unroll.c
gcc/target-def.h
gcc/target.h
This page took 0.076062 seconds and 5 git commands to generate.