x86emul: support AVX512F scatter insns
authorJan Beulich <jbeulich@suse.com>
Fri, 5 Jul 2019 08:40:10 +0000 (10:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Jul 2019 08:40:10 +0000 (10:40 +0200)
commit7d569b848036532f4cdb700ff8b8021c036160c3
tree1837e6d1c32c6b61a60945ab7e7484a9c2395ff2
parent062a7faded0a4e3bad789c4e8906cc0fa2400bde
x86emul: support AVX512F scatter insns

This completes support of AVX512F in the insn emulator.

Note that in the test harness there's a little bit of trickery needed to
get around the not fully consistent naming of AVX512VL gather and
scatter compiler built-ins. To suppress expansion of the "di" and "si"
tokens they get constructed by token concatenation in BS(), which is
different from BG().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/evex-disp8.c
tools/tests/x86_emulator/simd-sg.c
xen/arch/x86/x86_emulate/x86_emulate.c