x86emul: correct VEX.L handling for VCVT{, T}S{S, D}2SI
PATCH 1/1 x86emul: correct VEX.L handling for VCVT{, T}S{S, D}2SI
Recent changes to the SDM (and XED) have made clear that older hardware raising #UD when the bit is set was really an erratum. Generalize the so far AMD-only override.
Signed-off-by Jan Beulich <[email protected]>
xen/arch/x86/x86_emulate/x86_emulate.c +2 -3
@@ -5598,9 +5598,8 @@ x86_emulate( }else { -if ( ctxt->vendor ==X86_VENDOR_AMD ) - vex.l =0 ; -generate_exception_if (vex.l || vex.reg !=0xf ,EXC_UD ); +generate_exception_if (vex.reg !=0xf ,EXC_UD ); + vex.l =0 ;host_and_vcpu_must_have (avx);get_fpu (X86EMUL_FPU_ymm, &fic); }
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 5 lines · Jan Beulich
Recent changes to the SDM (and XED) have made clear that older hardware raising #UD when the bit is set was really an erratum. Generalize the so far AMD-only override.
Signed-off-by Jan Beulich <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel