]> xenbits.xensource.com Git - people/jgross/xen.git/commitdiff
x86emul: AVX512PF insns aren't memory accesses
authorJan Beulich <jbeulich@suse.com>
Wed, 5 Aug 2020 08:29:18 +0000 (10:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 5 Aug 2020 08:29:18 +0000 (10:29 +0200)
These are prefetches, so should be treated just like other prefetches.

Fixes: 467e91bde720 ("x86emul: support AVX512PF insns")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c

index c54ad589c435d4c6952378e1983769605485bf13..41883ad6d8071d54754a211a2b5a0dc09703d3a2 100644 (file)
@@ -12266,6 +12266,8 @@ x86_insn_is_mem_access(const struct x86_emulate_state *state,
          ... 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):