RFR: JDK-8210858: AArch64: remove Math.log intrinsic [v2]

Aleksey Shipilev shade at openjdk.org
Mon Jan 22 12:38:29 UTC 2024


On Thu, 18 Jan 2024 14:44:25 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.
>
> Tobias Holenstein has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove MacroAssembler::fast_log() and generate_dlog()

To be clear, the question on going to Java instead of runtime does not block this PR. I think the discussion on merits of removing the StubRoutines can continue in the relevant RFE.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17480#issuecomment-1903915959


More information about the hotspot-compiler-dev mailing list