Re: [PATCH] rs6000: Refine implicit funroll-loops with unroll_adjust hook.

2019-10-29 Thread Jiufu Guo
Richard Biener writes: > On Tue, 29 Oct 2019, Jiufu Guo wrote: > >> For this patch at -flto, loop-unrolling is affected by command line >> besides optimize level per function. >> -flto -c t.c -O2 -funroll-loops >> -flto t.o -O2 or -flto t.o, >> this linking will not be treated as explicit -funr

Re: [PATCH] rs6000: Refine implicit funroll-loops with unroll_adjust hook.

2019-10-29 Thread Jiufu Guo
Richard Biener writes: > On Tue, 29 Oct 2019, Jiufu Guo wrote: > >> Jiufu Guo writes: >> >> > Hi, >> > >> > In previous patch r277501, which is changing PARAM_MAX_UNROLL_TIMES >> > and PARAM_MAX_UNROLLED_INSNS values during option overriding, while >> > it would better to use target loop unroll

Re: [PATCH] rs6000: Refine implicit funroll-loops with unroll_adjust hook.

2019-10-29 Thread Richard Biener
On Tue, 29 Oct 2019, Jiufu Guo wrote: > Jiufu Guo writes: > > > Hi, > > > > In previous patch r277501, which is changing PARAM_MAX_UNROLL_TIMES > > and PARAM_MAX_UNROLLED_INSNS values during option overriding, while > > it would better to use target loop unroll adjust hook. The hook can > > also

Re: [PATCH] rs6000: Refine implicit funroll-loops with unroll_adjust hook.

2019-10-29 Thread Jiufu Guo
Jiufu Guo writes: > Hi, > > In previous patch r277501, which is changing PARAM_MAX_UNROLL_TIMES > and PARAM_MAX_UNROLLED_INSNS values during option overriding, while > it would better to use target loop unroll adjust hook. The hook can > also help to do further target related hueristic adjust. >