RFR: 8358556: Assert when running with -XX:-UseLibmIntrinsic

Mohamed Issa duke at openjdk.org
Fri Jun 6 20:48:01 UTC 2025


On Fri, 6 Jun 2025 20:40:49 GMT, Mohamed Issa <duke at openjdk.org> wrote:

> This change fixes unwanted calls to the cbrt and tanh intrinsics on x86 when they are explicitly disabled by the _-XX:-UseLibmIntrinsic_ or _-XX:-InlineIntrinsics_ flags.

@dholmes-ora Does this fix the _-XX:-InlineIntrinsics_ assertion failures when running CubeRootTests.java and HyperbolicTests.java? I couldn't reproduce those, but I could reproduce the one with `java -XX:-UseLibmIntrinsic -version`.

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

PR Comment: https://git.openjdk.org/jdk/pull/25680#issuecomment-2950752859


More information about the hotspot-runtime-dev mailing list