[aarch64-port-dev ] RFR: 8151502: aarch64: optimize pd_disjoint_words and pd_conjoint_words

Edward Nevill edward.nevill at gmail.com
Wed Mar 9 20:15:08 UTC 2016


On Wed, 2016-03-09 at 14:11 +0000, Andrew Haley wrote:
> On 03/09/2016 02:07 PM, Edward Nevill wrote:
> > On Wed, 2016-03-09 at 12:57 +0000, Andrew Haley wrote:
> >> On 03/09/2016 12:17 PM, Edward Nevill wrote:
> >>> http://cr.openjdk.java.net/~enevill/8151502/JMHSample_97_GCStress.java
> >>>
> >>> JMH jar file: http://cr.openjdk.java.net/~enevill/8151502/benchmarks.jar
> >>>
> >>> The following are the results I get
> >>
> >> Not bad, but not quite perfect.  But I guess you knew I'd say that.
> >> :-)
> >>

I'll settle for good enough! What about this one?

http://cr.openjdk.java.net/~enevill/8151502/webrev.3

So this gets the following from GCStress

Benchmark                       Mode  Cnt         Score        Error  Units
JMHSample_97_GCStress.gcstress  avgt   25  20171328.764 ? 284468.532  us/op

Whereas previously the best was

Benchmark                       Mode  Cnt         Score        Error  Units
JMHSample_97_GCStress.gcstress  avgt   25  20164420.762 ? 280305.425  us/op

IE. No significant difference. But it does inline less code and handles the case where count is a constant.

All the best,
Ed.




More information about the aarch64-port-dev mailing list