The function Assembler::andi generates wrong code in case pow2minus1.
log2_long needs to be used to generate a correct constant in the clrldi instruction.
This was broken byJDK-8183574.
E.g. test jdk/internal/math/FloatingDecimal/TestFDBigInteger.java is failing.
log2_long needs to be used to generate a correct constant in the clrldi instruction.
This was broken by
E.g. test jdk/internal/math/FloatingDecimal/TestFDBigInteger.java is failing.
- relates to
-
JDK-8183574 Unify the is_power_of_2 functions
-
- Resolved
-