RFR: 8322768: Optimize non-subword vector compress and expand APIs for AVX2 target. [v3]

Jatin Bhateja jbhateja at openjdk.org
Mon Jan 8 06:09:22 UTC 2024


On Fri, 5 Jan 2024 10:02:28 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Thanks for the updates!
> 
> One more idea: Your AVX2 solution has a lot of cost for converting the mask to a permutation. Might it make sense to split this off into a separate vector-node, so that it can float out of a loop if the mask is invariant?

CompressV / ExpandV only accepts two inputs, vector to be operated on and mask under which operation is performed, permute table based implementation is specific to x86 backend implementation.

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

PR Comment: https://git.openjdk.org/jdk/pull/17261#issuecomment-1880430502


More information about the core-libs-dev mailing list