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

Ludovic Henry luhenry at openjdk.java.net
Mon Nov 16 22:21:11 UTC 2020


On Mon, 16 Nov 2020 22:05:23 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Can you operate on char[] instead for now? I see your code requires that the dst buffer has a backing char[] array, although perhaps you intend to support direct CharBuffer too?

I absolutely can only rely on a CharBuffer backed by an array only. Adding support for CharBuffer without an array is not required to make it work and to use it as an experiment, it would just make it more feature complete. I was just raising the question as I wasn't sure if it was an oversight or not, and from your explanation, it isn't.

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

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


More information about the panama-dev mailing list