diff mbox series

[08/10] x86emul: AVX512PF insns aren't memory accesses

Message ID aa4533ca-401e-4e0b-6b81-e8e4c42b9d77@suse.com (mailing list archive)
State New, archived
Headers show
Series x86emul: full coverage mem access / write testing | expand

Commit Message

Jan Beulich Aug. 3, 2020, 2:53 p.m. UTC
These are prefetches, so should be treated just like other prefetches.

Fixes:  ("x86emul: support AVX512PF insns")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
diff mbox series

Patch

--- a/xen/arch/x86/x86_emulate/x86_emulate.c
+++ b/xen/arch/x86/x86_emulate/x86_emulate.c
@@ -12265,6 +12265,8 @@  x86_insn_is_mem_access(const struct x86_
          ... X86EMUL_OPC_F2(0x0f, 0x1f): /* NOP space */
         case X86EMUL_OPC(0x0f, 0xb9): /* UD1 */
         case X86EMUL_OPC(0x0f, 0xff): /* UD0 */
+        case X86EMUL_OPC_EVEX_66(0x0f38, 0xc6): /* V{GATH,SCATT}ERPF*D* */
+        case X86EMUL_OPC_EVEX_66(0x0f38, 0xc7): /* V{GATH,SCATT}ERPF*Q* */
             return false;
 
         case X86EMUL_OPC(0x0f, 0x01):