[vectorIntrinsics] RFR: Load/store short vectors from/to char[]

Sandhya Viswanathan sviswanathan at openjdk.java.net
Wed Nov 18 22:31:13 UTC 2020


On Mon, 16 Nov 2020 17:35:36 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Methods to load/store a `ShortVector` from/to `char[]`. These methods may be useful for encoding/decoding characters.
> 
> Unclear if aliasing of `char[]` and `short[]` causes issues for the intrinsic or for Hotspot code gen.
> 
> Testing-wise, it was easier to explicitly clone and reify the relevant tests rather than trying to generalize the template and its template arguments to distinguish between the vector type and the array type.

Marked as reviewed by sviswanathan (Committer).

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

PR: https://git.openjdk.java.net/panama-vector/pull/22


More information about the panama-dev mailing list