RFR: 8338023: Support two vector selectFrom API [v7]

Jatin Bhateja jbhateja at openjdk.org
Fri Sep 13 17:41:08 UTC 2024


On Fri, 13 Sep 2024 14:45:29 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Existing vectorAPI inline expansion entry points explicitly pass lane type and count as intrinsic arguments, this is used to create concrete ideal vector types.
>
> That does not answer my question. If the backend operations you implemented would have the wrong vector-length: do we have any tests that would catch that? Often that requires not just going "up" with a loop but also "counting down" with the loop iv. Do you know what I mean?

Patch includes tests for all the species (combination of vector type and sizes), each vector kernel is validated against equivalent scalar implementation, scenario which you are referring is implicitly handled though tests.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20508#discussion_r1759246223


More information about the core-libs-dev mailing list