[vectorIntrinsics] RFR: 8267294: [vector] Fix unsigned comparison crashes on x86 CPUs with UseAVX=1
Ningsheng Jian
njian at openjdk.java.net
Thu Jun 10 09:40:36 UTC 2021
On Thu, 10 Jun 2021 07:47:49 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> 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
I think this has been fixed in https://github.com/openjdk/jdk/pull/3803? See: https://github.com/openjdk/jdk/pull/3803/commits/20a9c9cedee019936e3999332b4441671b3c8082
-------------
PR: https://git.openjdk.java.net/panama-vector/pull/91
More information about the panama-dev
mailing list