[vectorIntrinsics] RFR: 8267294: [vector] Fix unsigned comparison crashes on x86 CPUs with UseAVX=1
Jie Fu
jiefu at openjdk.java.net
Thu Jun 10 07:52:41 UTC 2021
Hi all,
While I was working on JDK-8267370, Ekaterina Pavlova told me some vector tests crashes in Oracle's CI/CD.
According to the hs_err [1], these crashes just happened on a CPU which doesn't support avx2/3.
So we can easily reproduce the crashes with `-XX:UseAVX=1` on modern x86 CPUs by running the following tests.
jdk/incubator/vector/IntMaxVectorTests.java
jdk/incubator/vector/Int128VectorTests.java
jdk/incubator/vector/Short128VectorTests.java
jdk/incubator/vector/ShortMaxVectorTests.java
Let's fix it.
Testing:
- vector tests on Linux/x64 with UseAVX={3/2/1/0}
Thanks.
Best regards,
Jie
[1] https://bugs.openjdk.java.net/secure/attachment/94669/hs_err_bug8267294.log
-------------
Commit messages:
- 8267294: [vector] Fix unsigned comparison crashes on x86 CPUs with UseAVX=1
Changes: https://git.openjdk.java.net/panama-vector/pull/91/files
Webrev: https://webrevs.openjdk.java.net/?repo=panama-vector&pr=91&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8267294
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/panama-vector/pull/91.diff
Fetch: git fetch https://git.openjdk.java.net/panama-vector pull/91/head:pull/91
PR: https://git.openjdk.java.net/panama-vector/pull/91
More information about the panama-dev
mailing list