x86emul: support AVX512F legacy-equivalent packed int/FP conversion insns
authorJan Beulich <jbeulich@suse.com>
Fri, 24 May 2019 08:22:18 +0000 (10:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 May 2019 08:22:18 +0000 (10:22 +0200)
commited806f3737304b1aa01e8f7dfd01460018f8c023
tree9619e4e6a36e5efc4a199525f08a212773f970bc
parent4037a62ef93e4becdc8744cf659193328c42bd47
x86emul: support AVX512F legacy-equivalent packed int/FP conversion insns

... including the two AVX512DQ forms which shared encodings, just with
EVEX.W set there.

VCVTDQ2PD, sharing its main opcode with others, needs a "manual"
override of disp8scale.

The simd_size changes for the twobyte_table[] entries are benign to
pre-existing code, but allow decode_disp8scale() to work as is here.

The at this point wrong placement of the 0xe6 case block is once again
in anticipation of further additions of case labels.

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.c
tools/tests/x86_emulator/simd.h
xen/arch/x86/x86_emulate/x86_emulate.c