>>> On 10.06.19 at 16:51, <[email protected]> wrote:
> On 15/03/2019 10:56, Jan Beulich wrote:
>> +#if __GNUC__ > 7 /* can't check for __AVX512VBMI2__ here */
> 
> Why not?

Because that would require passing -mavx512vbmi2 (or enabling the
feature via #pragma) which in turn would need gating on compiler
version, or else the harness couldn't be built with gcc7 at all anymore.

>> --- a/xen/tools/gen-cpuid.py
>> +++ b/xen/tools/gen-cpuid.py
>> @@ -266,10 +266,10 @@ def crunch_numbers(state):
>>                    AVX512BW, AVX512VL, AVX512_4VNNIW, AVX512_4FMAPS,
>>                    AVX512_VPOPCNTDQ],
>>  
>> -        # AVX512 extensions acting solely on vectors of bytes/words are made
>> +        # AVX512 extensions acting (solely) on vectors of bytes/words are 
>> made

Because VBMI2 doesn't act _solely_ on vectors of bytes/words.
There are also shift insns acting on vectors of dwords/qwords.

Jan



_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to