x86: Disable AVX-VNNI when disabling AVX2
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 18 Oct 2022 17:47:29 +0000 (10:47 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 18 Oct 2022 17:47:29 +0000 (10:47 -0700)
commit152cc35ebff44eb06a00364ca1dbcf5fca6772b4
tree53d6a63098abdbee85b15c10015996c1e50ac7e9
parent04ea6b63141c43d9e96999e16917358088556fdd
x86: Disable AVX-VNNI when disabling AVX2

Since AVX-VNNI requires AVX2, disable AVX-VNNI when disabling AVX2.

* i386-gen.c (cpu_flag_init): Add CpuAVX_VNNI to
CPU_ANY_AVX2_FLAGS.
* i386-init.h: Regenerate.
opcodes/i386-gen.c
opcodes/i386-init.h