[jdk17] RFR: 8269260: Add AVX512 and other SSE + AVX combinations testing for tests which generate vector instructions

Dean Long dlong at openjdk.java.net
Fri Jun 25 20:03:06 UTC 2021


On Fri, 25 Jun 2021 02:24:39 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> [8269179](https://bugs.openjdk.java.net/browse/JDK-8269179) bug shows that we (Oracle) don't test enough different vectors instructions on x64.
> 
> I suggest to create new HotSpot compiler test groups for such tests and together with jdk_vector (jdk/incubator/vector) group run them with different SSE and AVX HotSpot flags combinations: 
> 
> -XX:UseAVX=3 
> -XX:UseAVX=2 
> -XX:UseAVX=1 
> -XX:UseAVX=0 
> -XX:UseAVX=0 -XX:UseSSE=3 
> -XX:UseAVX=0 -XX:UseSSE=2 (this is minimal setting for 64 bit)
> 
> 
> Here my suggesting how to run them on windows-x64-debug and linux-x64-debug: 
> 
> hs-tier2: 
>   hotspot_vector_1 - run with all flags combinations listed in Description 
>   hotspot_vector_2 - run with `-XX:UseAVX=3` only 
> 
> hs-tier3: 
>   jdk_vector - run with all flags combinations listed in Description 
>   hotspot_vector_2 - run with all combinations except `-XX:UseAVX=3`
> 
> 
> Tier1 already runs these tests in default mode.
> 
> Tested hs-tier1-3 internally.

Marked as reviewed by dlong (Reviewer).

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

PR: https://git.openjdk.java.net/jdk17/pull/144


More information about the hotspot-compiler-dev mailing list