RFR: 8353686: Optimize Math.cbrt for x86 64 bit platforms [v6]

Mohamed Issa duke at openjdk.org
Mon Jun 2 17:04:07 UTC 2025


On Mon, 2 Jun 2025 04:42:03 GMT, David Holmes <dholmes at openjdk.org> wrote:

> > When you say "most of the non-x86 platforms", are you referring to the ones with processor types listed below?
> 
> Yes - 3 of the 5 non-x86 platforms.
> 
> > It looks like aarch64 and riscv don't take that route and would fall back to the default cbrt implementation.
> 
> I was wondering why Aarch64 didn't fail. I guess the other platforms may use this to detect new intrinsics being added.

The arm, ppc, and s390 breaks are resolved by #25568.

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

PR Comment: https://git.openjdk.org/jdk/pull/24470#issuecomment-2931613343


More information about the hotspot-dev mailing list