RFR: 8292898: [vectorapi] Unify vector mask cast operation [v4]

Xiaohong Gong xgong at openjdk.org
Tue Sep 27 02:20:16 UTC 2022


On Mon, 26 Sep 2022 20:07:45 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Xiaohong Gong has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add assertion to the elem num for mast cast
>
> src/hotspot/cpu/x86/x86.ad line 8414:
> 
>> 8412:   predicate(Matcher::vector_length(n) == Matcher::vector_length(n->in(1)) &&
>> 8413:             Matcher::vector_length_in_bytes(n) != Matcher::vector_length_in_bytes(n->in(1)) &&
>> 8414:             (UseAVX >= 2 ||
> 
> Pattern looks relevant only for UseAVX=2

Do you mean the mask is using k register when `UseAVX > 2` ?

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

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


More information about the hotspot-compiler-dev mailing list