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: [PATCHv2] new target hook for loop unrolling adjustment


On Mon, 1 Feb 2010, Christian Borntraeger wrote:
> +@deftypefn {Target Hook} unsigned TARGET_LOOP_UNROLL_ADJUST (unsigned @var{nunroll}, struct loop *@var{loop})
> +This target hook returns a new value for the number of times @var{loop}
> +should be unrolled. The parameter @var{nunroll} is the number of times
> +the loop is to be unrolled. The parameter @var{loop} is a pointer to
> +the loop, which is going to be checked for unrolling. This target hook
> +is required only when the target has special constraints like maximum
> +number of memory accesses.

I am struggling a bit reading this description. Perhaps something like 
"...adjusts the number of times...  @var{unroll} is the original number
of times..." or something along these lines?

(Yes, this stuck in my outbox for nearly a year. :-( )
 
Gerald


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