On 09 Oct 08:25, H.J. Lu wrote: > On Thu, Oct 9, 2014 at 1:37 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > > On Thu, Oct 9, 2014 at 10:25 AM, Kirill Yukhin <kirill.yuk...@gmail.com> > > wrote: > >> On 08 Oct 23:02, Petr Murzin wrote: > >>> Hi, > >>> I have measured performance impact on Haswell platform according to this > >>> input: > >>> https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00978.html > > Kirill, please mention: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296 > > in your ChangeLog. > > > What about older processors? > > Kirill, please collect data on Nehelam/Westmere, Sandybrigde/Ivybride > and Silvermont. > > > The optimization was introduced well before Haswell for then current > > processors, and it was based on the recommendation from Intel > > optimization guide. If this optimization doesn't apply for new > > processors, then tune option should be introduced and set accordingly. > > > > I believe the original excessive alignment was introduced by cut/paste > from > > https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=ed45e834f305d1f2709bf200a13d5beebc2fcfee > > to improve x86 FP performance, which might be partially copied from > CONSTANT_ALIGNMENT: > > https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=f7d6703c5d83fc9fb06246d6eb49e9b61098045c > > > -- > H.J.
Hello, Please have a look at collected data. SLM -O2: Test Previous Current Ratio(%) 400.perlbench 11.5000 11.5000 +0% 401.bzip2 8.7800 8.7500 -0.34% 403.gcc 9.7700 9.8200 +0.51% 429.mcf 9.9000 10.1000 +2.02% 445.gobmk 10.4000 10.4000 +0% 456.hmmer 12.7000 12.7000 +0% 458.sjeng 10.6000 10.6000 +0% 462.libquantum 25.0000 24.7000 -1.20% 464.h264ref 17.5000 17.4000 -0.57% 471.omnetpp 7.2700 7.2100 -0.82% 473.astar 8.5700 8.5600 -0.11% 483.xalancbmk 10.4000 10.4000 +0% 410.bwaves 24.1000 24.1000 +0% 416.gamess 9.6900 9.6700 -0.20% 433.milc 9.5400 9.7300 +1.99% 434.zeusmp 8.7000 8.6900 -0.11% 435.gromacs 7.7800 7.7700 -0.12% 436.cactusADM 12.4000 12.3000 -0.80% 437.leslie3d 10.5000 10.4000 -0.95% 444.namd 9.0100 9.0100 +0% 447.dealII 17.8000 17.8000 +0% 450.soplex 11.7000 11.7000 +0% 453.povray 11.7000 11.7000 +0% 454.calculix 5.8700 5.8700 +0% 459.GemsFDTD 12.1000 12.1000 +0% 465.tonto 8.4700 8.4700 +0% 470.lbm 17.8000 17.8000 +0% 481.wrf 13.5000 13.6000 +0.74% 482.sphinx3 12.6000 12.6000 +0% Geomeans: INT : 11.20 11.19 -0.05% FP : 11.29 11.29 +0.03% ALL : 11.25 11.25 -0.00% SLM -O3: Test Previous Current Ratio(%) 400.perlbench 11.5000 11.5000 +0% 401.bzip2 8.7400 8.7400 +0% 403.gcc 9.7800 9.8000 +0.20% 429.mcf 9.8900 10.2000 +3.13% 445.gobmk 10.4000 10.4000 +0% 456.hmmer 12.7000 12.7000 +0% 458.sjeng 10.6000 10.6000 +0% 462.libquantum 24.8000 25.0000 +0.80% 464.h264ref 17.4000 17.4000 +0% 471.omnetpp 7.1900 7.3100 +1.66% 473.astar 8.6000 8.5800 -0.23% 483.xalancbmk 10.4000 10.4000 +0% 410.bwaves 24.2000 24.2000 +0% 416.gamess 9.7000 9.6700 -0.30% 433.milc 9.7300 9.7500 +0.20% 434.zeusmp 8.7000 8.7000 +0% 435.gromacs 7.7700 7.7700 +0% 436.cactusADM 12.4000 12.3000 -0.80% 437.leslie3d 10.4000 10.4000 +0% 444.namd 9.0100 9.0100 +0% 447.dealII 17.8000 17.9000 +0.56% 450.soplex 11.9000 11.8000 -0.84% 453.povray 11.7000 11.7000 +0% 454.calculix 5.8600 5.8700 +0.17% 459.GemsFDTD 12.1000 12.0000 -0.82% 465.tonto 8.4800 8.4700 -0.11% 470.lbm 17.8000 17.8000 +0% 481.wrf 13.5000 13.5000 +0% 482.sphinx3 12.7000 12.7000 +0% Geomeans: INT : 11.17 11.22 +0.46% FP : 11.31 11.30 -0.12% ALL : 11.25 11.27 +0.12% SNB -O2: Test Previous Current Ratio(%) 400.perlbench 31.3000 31.3000 +0% 401.bzip2 21.7000 21.7000 +0% 403.gcc 30.6000 30.6000 +0% 429.mcf 43.2000 43.3000 +0.23% 445.gobmk 24.9000 24.9000 +0% 456.hmmer 23.8000 23.8000 +0% 458.sjeng 26.0000 26.1000 +0.38% 462.libquantum 63.2000 63.6000 +0.63% 464.h264ref 46.7000 46.9000 +0.42% 471.omnetpp 23.9000 23.7000 -0.83% 473.astar 22.8000 22.8000 +0% 483.xalancbmk 38.9000 38.7000 -0.51% 410.bwaves 55.0000 55.2000 +0.36% 416.gamess 28.3000 28.3000 +0% 433.milc 23.1000 23.0000 -0.43% 434.zeusmp 28.6000 28.4000 -0.69% 435.gromacs 24.1000 24.2000 +0.41% 436.cactusADM 43.6000 43.0000 -1.37% 437.leslie3d 38.2000 38.2000 +0% 444.namd 22.7000 22.7000 +0% 447.dealII 50.3000 50.3000 +0% 450.soplex 39.1000 39.4000 +0.76% 453.povray 37.9000 38.1000 +0.52% 454.calculix 23.9000 23.9000 +0% 459.GemsFDTD 35.3000 35.1000 -0.56% 465.tonto 20.9000 20.9000 +0% 470.lbm 36.2000 36.3000 +0.27% 481.wrf 34.8000 34.8000 +0% 482.sphinx3 53.2000 53.0000 -0.37% Geomeans: INT : 31.24 31.25 +0.03% FP : 33.46 33.44 -0.07% ALL : 32.52 32.51 -0.03% SNB -O3: Test Previous Current Ratio(%) 400.perlbench 31.3000 31.3000 +0% 401.bzip2 21.7000 21.7000 +0% 403.gcc 30.5000 30.6000 +0.32% 429.mcf 43.3000 43.0000 -0.69% 445.gobmk 24.9000 24.9000 +0% 456.hmmer 23.8000 23.8000 +0% 458.sjeng 26.1000 26.1000 +0% 462.libquantum 63.6000 63.3000 -0.47% 464.h264ref 46.7000 46.8000 +0.21% 471.omnetpp 23.9000 23.8000 -0.41% 473.astar 22.7000 22.6000 -0.44% 483.xalancbmk 38.9000 38.9000 +0% 410.bwaves 55.4000 55.2000 -0.36% 416.gamess 28.3000 28.3000 +0% 433.milc 23.0000 23.0000 +0% 434.zeusmp 28.7000 28.4000 -1.04% 435.gromacs 24.2000 24.1000 -0.41% 436.cactusADM 43.6000 43.0000 -1.37% 437.leslie3d 38.2000 38.3000 +0.26% 444.namd 22.7000 22.7000 +0% 447.dealII 50.3000 50.3000 +0% 450.soplex 39.2000 39.0000 -0.51% 453.povray 38.2000 37.8000 -1.04% 454.calculix 23.9000 23.9000 +0% 459.GemsFDTD 35.2000 35.3000 +0.28% 465.tonto 20.9000 20.9000 +0% 470.lbm 36.2000 36.2000 +0% 481.wrf 34.8000 34.9000 +0.28% 482.sphinx3 53.0000 52.9000 -0.18% Geomeans: INT : 31.26 31.22 -0.12% FP : 33.49 33.41 -0.24% ALL : 32.55 32.48 -0.19% IVB -O2: Test Previous Current Ratio(%) 400.perlbench 31.1000 31.1000 +0% 401.bzip2 23.3000 23.2000 -0.42% 403.gcc 32.5000 32.5000 +0% 429.mcf 38.2000 38.4000 +0.52% 445.gobmk 25.2000 25.2000 +0% 456.hmmer 25.0000 25.0000 +0% 458.sjeng 27.0000 27.0000 +0% 462.libquantum 73.5000 73.1000 -0.54% 464.h264ref 48.5000 48.6000 +0.20% 471.omnetpp 23.8000 23.8000 +0% 473.astar 23.1000 23.1000 +0% 483.xalancbmk 36.4000 36.0000 -1.09% 410.bwaves 66.3000 66.4000 +0.15% 416.gamess 29.9000 30.0000 +0.33% 433.milc 30.0000 30.1000 +0.33% 434.zeusmp 37.7000 37.7000 +0% 435.gromacs 24.5000 24.5000 +0% 436.cactusADM 49.6000 51.5000 +3.83% 437.leslie3d 43.7000 43.6000 -0.22% 444.namd 23.0000 23.0000 +0% 447.dealII 56.6000 56.5000 -0.17% 450.soplex 37.9000 37.9000 +0% 453.povray 39.2000 39.4000 +0.51% 454.calculix 24.7000 24.7000 +0% 459.GemsFDTD 36.2000 36.3000 +0.27% 465.tonto 22.4000 22.5000 +0.44% 470.lbm 58.8000 58.8000 +0% 481.wrf 37.7000 37.7000 +0% 482.sphinx3 50.1000 49.7000 -0.79% Geomeans: INT : 31.85 31.82 -0.11% FP : 37.25 37.35 +0.27% ALL : 34.92 34.95 +0.11% IVB -O3: Test Previous Current Ratio(%) 400.perlbench 31.2000 31.1000 -0.32% 401.bzip2 23.2000 23.2000 +0% 403.gcc 32.5000 32.5000 +0% 429.mcf 38.7000 38.4000 -0.77% 445.gobmk 25.2000 25.2000 +0% 456.hmmer 25.0000 25.0000 +0% 458.sjeng 27.0000 27.0000 +0% 462.libquantum 73.1000 73.5000 +0.54% 464.h264ref 48.5000 48.7000 +0.41% 471.omnetpp 24.0000 23.8000 -0.83% 473.astar 23.1000 23.1000 +0% 483.xalancbmk 36.2000 36.4000 +0.55% 410.bwaves 66.3000 66.3000 +0% 416.gamess 29.9000 30.0000 +0.33% 433.milc 30.0000 30.1000 +0.33% 434.zeusmp 37.7000 37.1000 -1.59% 435.gromacs 24.6000 24.6000 +0% 436.cactusADM 50.7000 51.5000 +1.57% 437.leslie3d 43.6000 43.6000 +0% 444.namd 23.0000 23.0000 +0% 447.dealII 56.6000 56.6000 +0% 450.soplex 37.4000 37.3000 -0.26% 453.povray 39.3000 39.2000 -0.25% 454.calculix 24.7000 24.7000 +0% 459.GemsFDTD 36.2000 36.3000 +0.27% 465.tonto 22.5000 22.5000 +0% 470.lbm 58.8000 58.8000 +0% 481.wrf 37.7000 37.8000 +0.26% 482.sphinx3 50.2000 49.7000 -0.99% Geomeans: INT : 31.88 31.87 -0.04% FP : 37.29 37.29 -0.02% ALL : 34.95 34.94 -0.03% WSM -O2: Test Previous Current Ratio(%) 400.perlbench 24.2000 24.1000 -0.41% 401.bzip2 17.2000 17.2000 +0% 403.gcc 23.2000 23.2000 +0% 429.mcf 25.6000 25.7000 +0.39% 445.gobmk 21.5000 21.5000 +0% 456.hmmer 20.7000 20.7000 +0% 458.sjeng 22.0000 22.1000 +0.45% 462.libquantum 52.9000 53.8000 +1.70% 464.h264ref 34.6000 34.6000 +0% 471.omnetpp 19.3000 19.3000 +0% 473.astar 16.5000 16.5000 +0% 483.xalancbmk 29.7000 29.8000 +0.33% 410.bwaves 39.7000 39.7000 +0% 416.gamess 21.0000 21.0000 +0% 433.milc 22.0000 22.0000 +0% 434.zeusmp 22.1000 22.0000 -0.45% 435.gromacs 19.6000 19.6000 +0% 436.cactusADM 23.2000 23.0000 -0.86% 437.leslie3d 27.5000 27.6000 +0.36% 444.namd 16.1000 16.1000 +0% 447.dealII 40.1000 40.1000 +0% 450.soplex 30.2000 30.2000 +0% 453.povray 24.9000 24.9000 +0% 454.calculix 17.1000 17.0000 -0.58% 459.GemsFDTD 27.6000 27.6000 +0% 465.tonto 16.3000 16.3000 +0% 470.lbm 39.0000 39.0000 +0% 481.wrf 27.0000 27.1000 +0.37% 482.sphinx3 38.6000 38.8000 +0.51% Geomeans: INT : 24.28 24.33 +0.20% FP : 25.41 25.40 -0.04% ALL : 24.94 24.95 +0.06% WSM -O3: Test Previous Current Ratio(%) 400.perlbench 24.2000 23.9000 -1.23% 401.bzip2 17.2000 17.2000 +0% 403.gcc 23.2000 23.1000 -0.43% 429.mcf 25.5000 25.1000 -1.56% 445.gobmk 21.5000 21.5000 +0% 456.hmmer 20.7000 20.7000 +0% 458.sjeng 22.0000 22.0000 +0% 462.libquantum 53.4000 52.8000 -1.12% 464.h264ref 34.6000 34.5000 -0.28% 471.omnetpp 19.3000 19.2000 -0.51% 473.astar 16.5000 16.5000 +0% 483.xalancbmk 29.7000 29.7000 +0% 410.bwaves 39.8000 39.7000 -0.25% 416.gamess 21.0000 21.0000 +0% 433.milc 22.0000 22.0000 +0% 434.zeusmp 22.3000 22.1000 -0.89% 435.gromacs 19.6000 19.6000 +0% 436.cactusADM 23.6000 23.0000 -2.54% 437.leslie3d 27.5000 27.4000 -0.36% 444.namd 16.1000 16.1000 +0% 447.dealII 40.1000 40.1000 +0% 450.soplex 30.2000 30.1000 -0.33% 453.povray 24.9000 24.8000 -0.40% 454.calculix 17.1000 17.1000 +0% 459.GemsFDTD 27.5000 27.6000 +0.36% 465.tonto 16.3000 16.3000 +0% 470.lbm 39.0000 39.0000 +0% 481.wrf 27.0000 27.1000 +0.37% 482.sphinx3 38.8000 38.7000 -0.25% Geomeans: INT : 24.29 24.18 -0.43% FP : 25.46 25.39 -0.26% ALL : 24.97 24.89 -0.33% Petr