RFR: 8269725: AArch64: Add VectorMask query implementation for NEON [v3]

Xiaohong Gong xgong at openjdk.java.net
Fri Jul 9 10:20:54 UTC 2021


On Fri, 9 Jul 2021 09:40:21 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

>> src/hotspot/cpu/aarch64/aarch64_neon.ad line 5340:
>> 
>>> 5338:   format %{ "vmask_firsttrue $dst, $src\t# vector (4I/4S/2I)" %}
>>> 5339:   ins_encode %{
>>> 5340:     // Input "src" is a vector of boolean with "0/1" as the element values.
>> 
>> Say "vector of bytes." I read this as a vector of bits.
>
> I use the "vector of boolean" here because the type of the input `(src)` is a `TypeVect` with `T_BOOLEAN` as the basic element type, although the size is the same with `byte`.

Sorry that I just got what you mean. So does "`vector of boolean with "0x00/0x01"`" make sense to you?

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

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


More information about the hotspot-compiler-dev mailing list