aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2021-09-21 22:25:54 -0500
committerKewen Lin <linkw@linux.ibm.com>2021-09-21 23:47:33 -0500
commit144c4984655e9c687dfdda6b1ac39afea8b2a037 (patch)
tree9ab6e1e1de670ebdb32745ef841a6a93374578f6 /gcc/omp-low.c
parent72394d38d929c72cad6cf706a0e790b5934f2bf1 (diff)
downloadgcc-144c4984655e9c687dfdda6b1ac39afea8b2a037.zip
gcc-144c4984655e9c687dfdda6b1ac39afea8b2a037.tar.gz
gcc-144c4984655e9c687dfdda6b1ac39afea8b2a037.tar.bz2
rs6000: Parameterize some const values for density test
This patch follows the discussion here[1], where Segher suggested parameterizing those exact magic constants for density heuristics, to make it easier to tweak if need. The change here should be "No Functional Change". But I verified it with SPEC2017 at option sets O2-vect and Ofast-unroll on Power8, the result is neutral as expected. [1]https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579121.html gcc/ChangeLog: * config/rs6000/rs6000.opt (rs6000-density-pct-threshold, rs6000-density-size-threshold, rs6000-density-penalty, rs6000-density-load-pct-threshold, rs6000-density-load-num-threshold): New parameter. * config/rs6000/rs6000.c (rs6000_density_test): Adjust with corresponding parameters.
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions