RFR: 8292898: [vectorapi] Unify vector mask cast operation [v4]
Jatin Bhateja
jbhateja at openjdk.org
Tue Sep 27 03:46:25 UTC 2022
On Tue, 27 Sep 2022 02:16:48 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
>> 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` ?
UseAVX > 2 signifies AVX512 target where carrier of all currently valid mask IR nodes is an opmask register.
-------------
PR: https://git.openjdk.org/jdk/pull/10192
More information about the hotspot-compiler-dev
mailing list