aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2022-03-30 20:35:55 +0800
committerliuhongt <hongtao.liu@intel.com>2022-04-05 12:51:37 +0800
commite3174d6183e5c042e822d9feabb670235b737441 (patch)
tree3cc052908840aea684e965682f7eec3d2eebc39b /gcc/fortran
parent418967ca275853a570b0ae566d7022ff38e7cd0d (diff)
downloadgcc-e3174d6183e5c042e822d9feabb670235b737441.zip
gcc-e3174d6183e5c042e822d9feabb670235b737441.tar.gz
gcc-e3174d6183e5c042e822d9feabb670235b737441.tar.bz2
Split vector load from parm_del to elemental loads to avoid STLF stalls.
Since cfg is freed before machine_reorg, just do a rough calculation of the window according to the layout. Also according to an experiment on CLX, set window size to 64. Currently only handle V2DFmode load since it doesn't need any scratch registers, and it's sufficient to recover cray performance for -O2 compared to GCC11. gcc/ChangeLog: PR target/101908 * config/i386/i386.cc (ix86_split_stlf_stall_load): New function (ix86_reorg): Call ix86_split_stlf_stall_load. * config/i386/i386.opt (-param=x86-stlf-window-ninsns=): New param. gcc/testsuite/ChangeLog: * gcc.target/i386/pr101908-1.c: New test. * gcc.target/i386/pr101908-2.c: New test. * gcc.target/i386/pr101908-3.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions