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

Jatin Bhateja jbhateja at openjdk.org
Fri Jan 5 07:08:39 UTC 2024


On Thu, 4 Jan 2024 13:30:24 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> test/micro/org/openjdk/bench/jdk/incubator/vector/ColumnFilterBenchmark.java line 94:
>> 
>>> 92:            IntVector vec = IntVector.fromArray(ispecies, intinCol, i);
>>> 93:            VectorMask<Integer> pred = vec.compare(VectorOperators.GT, ipivot);
>>> 94:            vec.compress(pred).intoArray(intoutCol, j);
>> 
>> Could there be equivalent `expand` tests?
>
> And what about some result verification? Or is there another test that does that?

We do have extensive functional tests for compress/expand APIs in [test/jdk/jdk/incubator/vector](https://github.com/openjdk/jdk/tree/master/test/jdk/jdk/incubator/vector)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17261#discussion_r1442554968


More information about the core-libs-dev mailing list