RFR: JDK-8210858: AArch64: remove Math.log intrinsic
Nick Gasson
ngasson at openjdk.org
Thu Jan 18 09:29:20 UTC 2024
On Thu, 18 Jan 2024 08:58:20 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:
> [JDK-8215133](https://bugs.openjdk.org/browse/JDK-8215133) disabled vmIntrinsics::_dlog. Remove it now
>
> ### Why remove
>
> That Java specification says:
>
> "The computed result must be within 1 ulp of the exact result. Results must be semi-monotonic... whenever the mathematical function is non-decreasing, so is the floating-point approximation, likewise, whenever the mathematical function is non-increasing, so is the floating-point approximation"
>
> There is no proof of the monotonicity of this intrinsics at the moment.
Should we also remove `MacroAssembler::fast_log()` and `generate_dlog()` as they are unused now?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17480#issuecomment-1898103477
More information about the hotspot-compiler-dev
mailing list