RFR: 8313372: [JVMCI] Export vmIntrinsics::is_intrinsic_available results to JVMCI compilers. [v2]

Yudi Zheng yzheng at openjdk.org
Thu Aug 10 15:04:58 UTC 2023


On Wed, 9 Aug 2023 08:46:36 GMT, Dean Long <dlong at openjdk.org> wrote:

> I don't having the same logic in two places, because then those two places need to be kept in sync. Either the stubs should be generated based on is_intrinsic_supported(), or is_intrinsic_supported() should check if the stub was generated.

I have dropped the redundant CPU feature checks, and for those intrinsics with stubs, I tested if the stub pointer is nullptr in `C2Compiler::is_intrinsic_supported`

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

PR Comment: https://git.openjdk.org/jdk/pull/15133#issuecomment-1673331114


More information about the graal-dev mailing list