-
Enhancement
-
Resolution: Fixed
-
P4
-
16
-
b04
globalDefinitions.hpp defines a number of log2 functions, which uses a naive iterative approach.
A few methods were moved to powerOfTwo.hpp byJDK-8183574 and JDK-8240829, where they can be efficiently implemented using count_leading_zeros. I suggest we complete this move and remove the log2 methods from globalDefinitions.hpp
A few methods were moved to powerOfTwo.hpp by
- relates to
-
JDK-8259236 C2 compilation fails with assert(is_power_of_2(value)) failed: value must be a power of 2: 8000000000000000
-
- Resolved
-
- links to
-
Review openjdk/jdk/1663