RFR: 8354473: Incorrect results for compress/expand tests with -XX:+EnableX86ECoreOpts

Sandhya Viswanathan sviswanathan at openjdk.org
Fri May 2 17:01:53 UTC 2025


On Tue, 15 Apr 2025 03:54:09 GMT, Volodymyr Paprotski <vpaprotski at openjdk.org> wrote:

> It looks like the `permv` mask isnt always 'all-ones' or 'all-zeroes'. (Which is OK for real blend, but needs to be enforced via the flag for blend emulation)
> 
> Before the fix, `make test TEST="jdk/incubator/vector"` (on ECore machine)
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR  SKIP
>>> jtreg:test/jdk/jdk/incubator/vector                  83    71    10     0     2 <<
> ==============================
> TEST FAILURE
> 
> After the fix:
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR  SKIP
>    jtreg:test/jdk/jdk/incubator/vector                  83    81     0     0     2
> ==============================
> TEST SUCCESS
> 
> And on an AVX512 machine:
> 
> ==============================
> Test summary
> ==============================
>    TEST                                              TOTAL  PASS  FAIL ERROR  SKIP
>    jtreg:test/jdk/jdk/incubator/vector                  83    81     0     0     2
> ==============================
> TEST SUCCESS

Looks good to me.

-------------

Marked as reviewed by sviswanathan (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/24645#pullrequestreview-2812496481


More information about the hotspot-compiler-dev mailing list