[aarch64-port-dev ] RFR: 8189107 - AARCH64: create intrinsic for pow

Andrew Dinn adinn at redhat.com
Thu Aug 16 09:23:50 UTC 2018


On 14/08/18 17:24, Dmitrij Pochepko wrote:
> Benchmarks:
> 
> I created benchmark to measure Math.pow:
> http://cr.openjdk.java.net/~dpochepk/8189107/MathBench.java
Just a preliminary comment before I get back to the code.

This test is always exercising

 Math.pow(X, X)

for the range {0.7, 1.2, 1.7, ... 1000.2}

I am not clear that it will significantly affect the outcome that the
two values are equal but the fact that they are all positive is perhaps
important. It might be worth re-running this benchmark using independent
ranges for X and Y, including negative values for both:

e.g. use separate base (0.2, 2.0}  and increments {0.5, -0.1} and cycle
the sign every 2 increments for X and every 4 (5?) increments for Y.

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the aarch64-port-dev mailing list