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

Jie Fu jiefu at openjdk.java.net
Tue Nov 17 01:45:08 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.

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Byte128Vector.java line 808:

> 806:     }
> 807: 
> 808: 

Some files were just modified by adding an empty newline.
Why?

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

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


More information about the panama-dev mailing list