RFR: 8318650: Optimized subword gather for x86 targets. [v10]
Emanuel Peter
epeter at openjdk.org
Tue Jan 16 07:34:26 UTC 2024
On Tue, 16 Jan 2024 06:08:28 GMT, Jatin Bhateja <jbhateja at 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
More information about the hotspot-compiler-dev
mailing list