x86emul: fix VPBLENDMW with mask and memory operand
authorJan Beulich <jbeulich@suse.com>
Mon, 14 Feb 2022 09:08:38 +0000 (10:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 14 Feb 2022 09:08:38 +0000 (10:08 +0100)
commiteddf13b5e9401f6871dcce1ce61c80cff62079ed
tree64d7622eac27bd50dc624d96f40ec3f2d5918ad9
parent71760cf0fe477adeaa5d41fa63ca7db8ea51f756
x86emul: fix VPBLENDMW with mask and memory operand

Element size for this opcode depends on EVEX.W, not the low opcode bit.
Make use of AVX512BW being a prereq to AVX512_BITALG and move the case
label there, adding an AVX512BW feature check.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c