RFR: 8189107 - AARCH64: create intrinsic for pow

Andrew Dinn adinn at redhat.com
Fri Sep 14 09:59:38 UTC 2018


Hi Dmitrij,

On 13/09/18 15:35, Dmitrij Pochepko wrote:
> I found 3 items to fix in your comments in
> http://cr.openjdk.java.net/~adinn/8189107/original_algorithm.txt
> 
> 1)
> 
> //           [1, sqrt(3/2)), [sqrt(3/2), sqrt(3)/2), [sqrt(3)/2, 2)
> //      i.e. [1, ~1.225],    [~1.225,    ~1.732),    [~1.732, 2)
> 
> this one should be:
> 
> [1, sqrt(3/2)), [sqrt(3/2), sqrt(3)), [sqrt(3), 2)
> i.e. [1, ~1.225],    [~1.225,    ~1.732),    [~1.732,    2)
> 
> 
> 2)
> 
> "4) Filter out overflows (z > 1023) or underflows (z < -1077)"
> 
> should be:
> 
> "4) Filter out overflows (z > 1023) or underflows (z < -1076)"
> 
> 3) "5) Let |z| = n + r where n is int, 0 <= n < 10, and 0 <= r < 1"
> 
> should be:
> 
> "5) Let |z| = n + r where n is int, 0 <= n < 1076, and 0 <= r < 1"
> 
> Other comments seems fine
Thank you for the corrections. I will update the file on
cr.openjdk.java.net accordingly.

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 hotspot-compiler-dev mailing list