]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: enable -fweb for small loops unrolling
authorguojiufu <guojiufu@linux.ibm.com>
Mon, 27 Apr 2020 06:08:20 +0000 (14:08 +0800)
committerguojiufu <guojiufu@linux.ibm.com>
Mon, 27 Apr 2020 06:08:20 +0000 (14:08 +0800)
commit47c39faa67cc7bd567793b62718ab5e4f931e8d0
tree95d6841752c8807dfd73c69fdd2b5f123985aad0
parent66711279083121b07d909ac0fc2f3a744ac7c937
rs6000: enable -fweb for small loops unrolling

Previously -fweb was disabled if only unroll small loops.  After that
we find there is cases where it could help to rename pseudos and avoid
some anti-dependence which may occur after unroll.

This patch enables -fweb for small loops unrolling.

2020-04-27  Jiufu Guo   <guojiufu@cn.ibm.com>

* common/config/rs6000/rs6000-common.c
(rs6000_option_optimization_table) [OPT_LEVELS_ALL]: Remove turn off
-fweb.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Avoid to
set flag_web.
gcc/ChangeLog
gcc/common/config/rs6000/rs6000-common.c
gcc/config/rs6000/rs6000.c