x86emul: fix VPBLENDMW with mask and memory operand
authorJan Beulich <jbeulich@suse.com>
Wed, 16 Feb 2022 14:54:12 +0000 (15:54 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 16 Feb 2022 14:54:12 +0000 (15:54 +0100)
commit0941d6cb2383c4e87d7f53f1df74e8850e1649bc
tree5a413a80cdc581e7a945fe39ef0c95b0b5119ce2
parentf8c720be53944eb0f43ed89eeb94e6d04e28fc17
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>
master commit: eddf13b5e9401f6871dcce1ce61c80cff62079ed
master date: 2022-02-14 10:08:38 +0100
xen/arch/x86/x86_emulate/x86_emulate.c