RFR: 8277508: need to check has_predicated_vectors before calling scalable_predicate_reg_slots [v2]

Tobias Hartmann thartmann at openjdk.java.net
Tue Nov 23 08:35:09 UTC 2021


On Mon, 22 Nov 2021 01:15:30 GMT, Yadong Wang <yadongwang at openjdk.org> wrote:

>> Hi, Team,
>> 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. All code about RegVectMask should be covered by has_predicated_vectors here in Matcher::init_first_stack_mask().
>> 
>> Yadong
>
> Yadong Wang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.

Looks good to me.

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

Marked as reviewed by thartmann (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6492


More information about the hotspot-compiler-dev mailing list