[vectorIntrinsics+mask] RFR: 8270349: Initial X86 backend support for optimizing masking operations on AVX512 targets. [v2]

Jatin Bhateja jbhateja at openjdk.java.net
Thu Aug 12 11:30:38 UTC 2021


On Wed, 11 Aug 2021 21:19:29 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

>> Jatin Bhateja has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
>> 
>>  - 8270349: Merge with latest vectorIntrinsics+mask tip + extend backend support for XorV,AndV,OrV and Compare masked operations.
>>  - 8270349: Fix for 32-bit build failure.
>>  - 8270349: Initial X86 backend support for optimizing masking operations on AVX512 targets.
>
> src/hotspot/cpu/x86/assembler_x86.cpp line 7569:
> 
>> 7567: }
>> 7568: 
>> 7569: void Assembler::evpxord(XMMRegister dst, KRegister mask, XMMRegister nds, Address src, bool merge, int vector_len) {
> 
> Most of the added instruction are very similar. Lot of duplication of code. Could be modularized for easy maintenance and review.

These are leaf level routines and existing assembler were lacking the routines with masked variant. Further re-factoring may complexify things?

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

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


More information about the panama-dev mailing list