[vectorIntrinsics] Integrated: 8265482: [vector] loading/storing byte vector from/to boolean[]
Paul Sandoz
psandoz at openjdk.java.net
Tue Apr 27 17:14:48 UTC 2021
On Mon, 19 Apr 2021 20:51:52 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
> Add methods to load/store a byte vector from/to boolean[].
>
> A boolean value is converted to a byte value by way of the expression (byte) b ? 1 : 0, where b is the boolean value.
>
> A byte value is converted to a boolean value by way of the expression (b & 1) != 0 ? true : false, where b is the byte value.
>
> The testing is partially covered. Further tests need to be added for gather/scatter load/stores. However, existing gather/scatter tests are not part of the load/store test templates, and i would like to make that so before adding such tests.
This pull request has now been integrated.
Changeset: ab4fa585
Author: Paul Sandoz <psandoz at openjdk.org>
URL: https://git.openjdk.java.net/panama-vector/commit/ab4fa585
Stats: 1363 lines in 70 files changed: 1363 ins; 0 del; 0 mod
8265482: [vector] loading/storing byte vector from/to boolean[]
Reviewed-by: sviswanathan
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/71
More information about the panama-dev
mailing list