RFR: 8373389: Two jdk/incubator/vector/ tests fails after JDK-8371446
Paul Sandoz
psandoz at openjdk.org
Thu Dec 11 16:46:52 UTC 2025
On Wed, 10 Dec 2025 23:59:00 GMT, Xueming Shen <sherman at openjdk.org> wrote:
> Test case ByteNNNVectorTests.MULReduceByteNNNVectorTestsMasked (specifically **_av.reduceLanes(VectorOperators.MUL, vmask)_**) fails "intermittently" with the newly added test data **mask[random]** on certain CPUs, likely those using AVX-512. For example, AMD_EPYC_9J14_96-Core is the one consistently fails.
>
> This new mask data was added to **_BOOLEAN_MASK_GENERATORS_** as part of the changes for JDK-8371446 https://github.com/openjdk/jdk/pull/28593
>
>
> withToString("mask[random]", (int s) -> {
> return fill_boolean(s,_i -> RAND.nextBoolean());
> })
>
>
> Although this addition does reveals a potential bug in C2's av.reduceLanes(VectorOperators.MUL, vmask) implementation, it unfortunately introduces nosy, non-deterministic tier3 test failures in the vector API test suite.
>
> This change temporarily remove this data entry from BOOLEAN_MASK_GENERATORS to reduce the the test instability.
>
> This change also includes the regenerated test updates from gen-test.sh to sync the template and the generated test code, addressing the issue reported in JDK-8373390.
I don't see any update to the template file(s), did you forget to include that in the commit?
-------------
PR Review: https://git.openjdk.org/jdk/pull/28757#pullrequestreview-3568360174
More information about the core-libs-dev
mailing list