RFR: 8358556: Assert when running with -XX:-UseLibmIntrinsic [v4]

Mohamed Issa duke at openjdk.org
Mon Jun 9 20:42:56 UTC 2025


On Mon, 9 Jun 2025 18:31:47 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

>> Mohamed Issa has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add extra check for InlineIntrinscs flag
>
> src/hotspot/share/classfile/vmIntrinsics.cpp line 319:
> 
>> 317:   case vmIntrinsics::_dtanh:
>> 318:   case vmIntrinsics::_dcbrt:
>> 319:     if (!InlineMathNatives || !InlineIntrinsics) return true;
> 
> You also need to add check for UseLibmIntrinsic here:
> #ifdef AMD64
>     if (!UseLibmIntrinsic)  return true;
> #endif

Added

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25680#discussion_r2136471294


More information about the hotspot-runtime-dev mailing list