[jdk17] RFR: 8269825: [TESTBUG] Missing testing for x86 KNL platforms

Vladimir Kozlov kvn at openjdk.java.net
Tue Jul 6 15:04:49 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;
>     }
>   }

Tests listed in [8269828](https://bugs.openjdk.java.net/browse/JDK-8269828) passed with additional KNL CPU features switched off as @jatin-bhateja suggested. But it does not solve our internal testing issue.

I will change bug's subject and flag name to be specific that it is VM emulation instead of KNL CPU.

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

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


More information about the hotspot-compiler-dev mailing list