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

Yudi Zheng yzheng at openjdk.org
Mon Aug 14 09:12:01 UTC 2023


On Thu, 3 Aug 2023 06:48:27 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:

> This PR exports `vmIntrinsic::is_intrinsic_available`, `Compiler::is_intrinsic_supported`, and `C2Compiler::is_intrinsic_supported` results to JVMCI compiler. This allows JVMCI compiler to comply with `-XX:DisableIntrinsic`, `-XX:ControlIntrinsic`, `-XX:-UseXXXIntrinsic`, and is essential for running test that depends on these flags, e.g., `java/lang/Float/Binary16ConversionNaN` that returns different result in the interpreter with `-XX:DisableIntrinsic=_float16ToFloat,_floatToFloat16`.
> This PR also attempts to fix some of the `is_intrinsic_available` results. Please see the inlined comments.

This pull request has now been integrated.

Changeset: 4164693f
Author:    Yudi Zheng <yzheng at openjdk.org>
Committer: Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4164693f3bf15a2f3e03dee72e1ca3fb8d82582c
Stats:     80 lines in 10 files changed: 63 ins; 6 del; 11 mod

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

Reviewed-by: dnsimon, kvn

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

PR: https://git.openjdk.org/jdk/pull/15133


More information about the graal-dev mailing list