[jdk17] RFR: 8269260: Add AVX512 and other SSE + AVX combinations testing for tests which generate vector instructions
Vladimir Kozlov
kvn at openjdk.java.net
Fri Jun 25 02:32:23 UTC 2021
[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.
-------------
Commit messages:
- 8269260: Add AVX512 and other SSE + AVX combinations testing for tests which generate vector instructions
Changes: https://git.openjdk.java.net/jdk17/pull/144/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=144&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8269260
Stats: 23 lines in 1 file changed: 23 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk17/pull/144.diff
Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/144/head:pull/144
PR: https://git.openjdk.java.net/jdk17/pull/144
More information about the hotspot-dev
mailing list