On Tue, 16 Jan 2024 06:08:28 GMT, Jatin Bhateja <jbhat...@openjdk.org> wrote:

>> Or would that require too many registers?
>
>> Can the `offset` not be added to `idx_base` before the loop?
> 
> Offset needs to be added to each index element, please refer to API 
> specification for details.
> https://docs.oracle.com/en/java/javase/21/docs/api/jdk.incubator.vector/jdk/incubator/vector/ShortVector.html#fromArray(jdk.incubator.vector.VectorSpecies,short[],int,int[],int)

Ah great, thanks for the link 😊 
Can you put such equations in the code, using the register names?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16354#discussion_r1453021973

Reply via email to