[vectorIntrinsics] RFR: 8255437: [vector] jdk/incubator/vector/SelectFromByteMaxVectorTests fails with Arm SVE 2048-bits [v2]
Xiaohong Gong
xgong at openjdk.java.net
Fri Oct 30 09:11:02 UTC 2020
> 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
Xiaohong Gong has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
8255437: [vector] jdk/incubator/vector/SelectFromByteMaxVectorTests fails with Arm SVE 2048-bits
-------------
Changes:
- all: https://git.openjdk.java.net/panama-vector/pull/19/files
- new: https://git.openjdk.java.net/panama-vector/pull/19/files/ccf933d1..d6811a4a
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=19&range=01
- incr: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=19&range=00-01
Stats: 54 lines in 25 files changed: 26 ins; 4 del; 24 mod
Patch: https://git.openjdk.java.net/panama-vector/pull/19.diff
Fetch: git fetch https://git.openjdk.java.net/panama-vector pull/19/head:pull/19
PR: https://git.openjdk.java.net/panama-vector/pull/19
More information about the panama-dev
mailing list