[vectorIntrinsics] Integrated: 8255437: [vector] jdk/incubator/vector/SelectFromByteMaxVectorTests fails with Arm SVE 2048-bits
Xiaohong Gong
xgong at openjdk.java.net
Mon Nov 2 02:04:00 UTC 2020
On Thu, 29 Oct 2020 06:22:35 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
> The tests are used to test the Vector API "selectFrom". It uses index values stored in the lanes of this vector which is a byte vector for byte type. So its valid lane elements should be 0 ~ 127 for byte.
>
> However, for SVE 2048-bits, the max vector length for byte is 256, which exceeds the byte boundary. Indexes greater than 127 are converted to the negative values which are invalid for the API.
>
> To avoid this, it's better to guarantee the elements in the byte vector to the valid values if they are prepared to be used as vector indexes.
>
> See more details from:
> https://mail.openjdk.java.net/pipermail/panama-dev/2020-October/011216.html
This pull request has now been integrated.
Changeset: bccabae3
Author: Xiaohong Gong <xgong at openjdk.org>
Committer: Ningsheng Jian <njian at openjdk.org>
URL: https://git.openjdk.java.net/panama-vector/commit/bccabae3
Stats: 62 lines in 27 files changed: 36 ins; 0 del; 26 mod
8255437: [vector] jdk/incubator/vector/SelectFromByteMaxVectorTests fails with Arm SVE 2048-bits
Reviewed-by: psandoz
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/19
More information about the panama-dev
mailing list