]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: re-enable web and rnreg with -funroll-loops
authorJiufu Guo <guojiufu@linux.ibm.com>
Tue, 24 Dec 2019 13:27:33 +0000 (13:27 +0000)
committerJiufu Guo <guojiufu@gcc.gnu.org>
Tue, 24 Dec 2019 13:27:33 +0000 (13:27 +0000)
commitb57fab18604861a733f9bd7b8bc6b1e1bcd0f9b3
treecd28fb2667fc0f3af395522f97ab11435a664f4b
parentf2a879930992085ca4e4f6b0cdd8d4debc6f4a47
rs6000: re-enable web and rnreg with -funroll-loops

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 degradations on
SPEC2006fp which caused by without web and rnreg.  This patch enable -fweb
and -frename-registers for -funroll-loops to align original behavior before
r278034.

gcc/
2019-12-23  Jiufu Guo  <guojiufu@linux.ibm.com>

* config/rs6000/rs6000.c (rs6000_option_override_internal): Enable
-fweb and -frename-registers with -funroll-loops

From-SVN: r279725
gcc/ChangeLog
gcc/config/rs6000/rs6000.c