Hi!

On Thu, Apr 07, 2022 at 09:19:51AM -0500, will schmidt wrote:
> On Mon, 2022-02-28 at 13:37 +0800, Kewen.Lin via Gcc-patches wrote:
> > As PR103196 shows, p9-vec-length-full-7.c needs to be adjusted as the
> > complete unrolling can happen on some of its loops.  This patch is to
> > use pragma "GCC unroll 0" to disable all possible loop unrollings.
> > Hope it can help the case not that fragile.
> 
> ok
> 
> Is the lack of effectiveness of "-fno-unroll-loops" otherwise
> understood, or is there further issue behind that option? 

There is -fpeel-loops as well, and cunroll is independent of all of
these as well?

> I would
> expect the effect of the option, versus the pragma, two to roughly
> equivalent.   Obviously it is not.  :-)

Yes, me too.  And I do not see what makes the difference, if it isn't
the peel thing :-(

Ke Wen, can you try with -fno-peel-loops please?


Segher

Reply via email to