mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
While result values and other status flags are unaffected as long as we can ignore the case of registers having their upper 32 bits non-zero outside of 64-bit mode, EFLAGS.SF may obtain a wrong value when we mistakenly re-execute the original insn with VEX.W set. Note that guest the memory access, if any, is correctly carried out as 32-bit regardless of VEX.W. The emulator-local memory operand will be accessed as a 64-bit quantity, but it is pre-initialised to zero so no internal state can leak. Fixes:771daacd19("x86emul: support BMI1 insns") Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> master commit:1179d51dcbmaster date: 2024-11-14 13:00:57 +0100