[jdk17] RFR: 8269825: [TESTBUG] Missing testing for x86 KNL platforms
Vladimir Kozlov
kvn at openjdk.java.net
Tue Jul 6 14:52:57 UTC 2021
On Tue, 6 Jul 2021 09:06:05 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
>> Marked as reviewed by dlong (Reviewer).
>
> Hi @dean-long , @vnkozlov ,
> Since the idea is to test KNL settings on any latest X86 Server platform we should also turn off following options.
>
> if (is_intel()) { // Intel cpus specific settings
> if (is_knights_family()) {
> _features &= ~CPU_VZEROUPPER;
> _features &= ~CPU_AVX512BW;
> _features &= ~CPU_AVX512VL;
> + _features &= ~CPU_AVX512DQ;
> + _features &= ~CPU_AVX512_VNNI;
> + _features &= ~CPU_AVX512_VAES;
> + _features &= ~CPU_AVX512_VPOPCNTDQ;
> + _features &= ~CPU_AVX512_VPCLMULQDQ;
> + _features &= ~CPU_AVX512_VBMI;
> + _features &= ~CPU_AVX512_VBMI2;
> }
> }
Thank you, @jatin-bhateja
I think I should be more clear here. What I want to emulate is VM instance we use in our testing:
KVM virtualization detected
CPU: total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 85 stepping 4 microcode 0x1, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, lzcnt, tsc, avx, avx2, aes, erms, clmul, bmi1, bmi2, rtm, adx, avx512f, avx512dq, avx512cd, fma, clflush, clflushopt, clwb, hv
And because current KNL flags setting is matching it I used it. I don't want to emulate exactly KNL CPU.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/205
More information about the hotspot-compiler-dev
mailing list