RFR: 8240829: Use a fast O(1) algorithm for exact_log2
    Andrew Haley 
    aph at redhat.com
       
    Tue Mar 10 18:19:29 UTC 2020
    
    
  
On 3/10/20 6:14 PM, Andrew Haley wrote:
> On 3/10/20 6:05 PM, Andrew Haley wrote:
>> TL/DR: prefer portable code when possible.
> 
> And -- of course -- I never saw the count_leading_zeros() !
And finally: unless you have a burning desire to do it yourself, I'll make
another patch using count_leading_zeros(). OK?
-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
    
    
More information about the hotspot-dev
mailing list