JDK-8277508 : need to check has_predicated_vectors before calling scalable_predicate_reg_slots
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-11-21
  • Updated: 2021-12-13
  • Resolved: 2021-11-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 18
18 b26Fixed
Related Reports
Relates :  
Description
A separate set of predicate registers is not mandatory for an implementation of scalable vectors. It will cause a failure in some platform which supports scalable vectors without explicit predicated registers, like riscv. Other call sites are all checked except in Matcher::init_first_stack_mask().
Comments
Changeset: 00a6238d Author: Yadong Wang <yadongwang@openjdk.org> Committer: Fei Yang <fyang@openjdk.org> Date: 2021-11-26 09:09:02 +0000 URL: https://git.openjdk.java.net/jdk/commit/00a6238daed4a4aaa6001275ce620646cdabfeb5
26-11-2021

ILW = Failure due to missing check of predicate registers in C2 matcher, low, disable compilation of affected method = HLM = P3
22-11-2021