CPU: add a trait for AVX512-VNNI support

Add a new standard trait HW_CPU_X86_AVX512VNNI for the support
of CPU AVX512-VNNI instructions.

AVX512-VNNI is the vector network instruction set which is described in
https://en.wikipedia.org/wiki/AVX-512#New_instructions_in_AVX-512_VNNI.

Change-Id: Id12ed38c1648b006c20cf5875a9b2ffe1690ecd6
This commit is contained in:
Wang Huaqiang 2019-07-26 14:39:00 +08:00
parent 3297a6692c
commit 77c39a1037

View File

@ -40,6 +40,7 @@ TRAITS = [
'AVX512VL', # vector length extensions
'AVX512BW', # byte + word
'AVX512DQ', # double word + quad word
'AVX512VNNI', # vector neural network instructions
# ref: https://en.wikipedia.org/wiki/Bit_Manipulation_Instruction_Sets
'ABM',
'BMI',