Re: [PATCH] enable -fweb and -frename-registers at -O3 for rs6000

2019-12-23 Thread Jiufu Guo
Jiufu Guo writes: > Segher Boessenkool writes: > >> Hi! >> [...] >>> --- a/gcc/testsuite/gcc.dg/torture/stackalign/builtin-return-1.c >>> +++ b/gcc/testsuite/gcc.dg/torture/stackalign/builtin-return-1.c >>> @@ -2,6 +2,7 @@ >>> /* Originator: Andrew Church */ >>> /* { dg-do run } */ >>> /* {

Re: [PATCH] enable -fweb and -frename-registers at -O3 for rs6000

2019-12-22 Thread Jiufu Guo
Segher Boessenkool writes: > Hi! > > On Fri, Dec 20, 2019 at 02:34:05PM +0800, Jiufu Guo wrote: >> Previously, limited unrolling was enabled at O2 for powerpc in r278034. At >> that >> time, -fweb and -frename-registers were not enabled together with >> -funroll-loops >> even for -O3. After t

Re: [PATCH] enable -fweb and -frename-registers at -O3 for rs6000

2019-12-20 Thread Segher Boessenkool
Hi! On Fri, Dec 20, 2019 at 02:34:05PM +0800, Jiufu Guo wrote: > Previously, limited unrolling was enabled at O2 for powerpc in r278034. At > that > time, -fweb and -frename-registers were not enabled together with > -funroll-loops > even for -O3. After that, we notice there are some performan

[PATCH] enable -fweb and -frename-registers at -O3 for rs6000

2019-12-19 Thread Jiufu Guo
Hi, Previously, limited unrolling was enabled at O2 for powerpc in r278034. At that time, -fweb and -frename-registers were not enabled together with -funroll-loops even for -O3. After that, we notice there are some performance degradation on SPEC2006fp which caused by without web and rnreg. Th