Details
-
Bug
-
Resolution: Fixed
-
P4
-
openjdk8u212, 11.0.3, 14, 15
-
b15
-
generic
-
generic
Description
log2_int() should return 32 for all negative arguments: the intention is to find the most significant set bit in x.
This does not work on 64-bit machines because the argument is sign extended to 64 bits before being converted to uintptr_t.
This does not work on 64-bit machines because the argument is sign extended to 64 bits before being converted to uintptr_t.
Attachments
Issue Links
- relates to
-
JDK-8213419 C2 may hang in MulLNode::Ideal()/MulINode::Ideal() with gcc 8.2.1
-
- Resolved
-