[vectorIntrinsics+mask] RFR: 8272479: Java API and IR changes for masked rearrange operation [v2]

Jatin Bhateja jbhateja at openjdk.java.net
Tue Aug 17 04:55:06 UTC 2021


On Mon, 16 Aug 2021 08:26:15 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8272479: Review comments resolution.
>
> src/hotspot/share/opto/vectorIntrinsics.cpp line 1813:
> 
>> 1811:     }
>> 1812:   }
>> 1813:   if (!arch_supports_vector(Op_VectorRearrange, num_elem, elem_bt, is_masked_op ? VecMaskUsePred : VecMaskNotUsed)) {
> 
> For masked op, it's better to use the mask type `VecMaskUsePred | VecMaskUseLoad` here?

If target does not support predicated rearrange instruction then a blend is the consume of mask, this looks correct.

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

PR: https://git.openjdk.java.net/panama-vector/pull/110


More information about the panama-dev mailing list