I got results below after I made a hack and added -march=native to the libawt library:
"EllipseFill.fillEllipse 1400" 8u60_RE: 6,540 9_dev: 8,457 9_hack: 6,276 So we have a window for tweaking. ----- sergey.bylok...@oracle.com wrote: > Hello, > I built both version of jdk8 and jdk9 on my local system, and compares > output of preprocessor and generated assemblers, both are identical. > But jdk8u60 from RE actually 20% faster than my version of jdk8. It > seems that the difference is in the compiler and/or in some > compiler(gcc) options used by default. > > ----- james.gra...@oracle.com wrote: > > > As far as why the software loops are slower... > > > > Did any command line options change for compiling IntArgbPre.c? > Touch > > > > the file and rebuild and verify if the compiler options are the same > > > (and that both builds use the same compiler)... > > > > ...jim