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

Yudi Zheng yzheng at openjdk.org
Fri Aug 11 15:20:59 UTC 2023


> 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.

Yudi Zheng has updated the pull request incrementally with one additional commit since the last revision:

  revert change in supports_fma.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15133/files
  - new: https://git.openjdk.org/jdk/pull/15133/files/1d2b83e6..028aaf5a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15133&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15133&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15133.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15133/head:pull/15133

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


More information about the hotspot-compiler-dev mailing list