x86emul: test for correct EVEX Disp8 scaling
authorJan Beulich <jbeulich@suse.com>
Tue, 20 Nov 2018 14:06:24 +0000 (15:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 20 Nov 2018 14:06:24 +0000 (15:06 +0100)
commit3b68138580c223073de31652bdce5d00fd1dc676
tree1e9ed032fb6a73d48082e33d05d34a5f559e1fbd
parentae9bfa9bc1a05686e68d4d87908312cc76f45c40
x86emul: test for correct EVEX Disp8 scaling

Besides the already existing tests (which are going to be extended once
respective ISA extension support is complete), let's also ensure for
every individual insn that their Disp8 scaling (and memory access width)
are correct.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/Makefile
tools/tests/x86_emulator/evex-disp8.c [new file with mode: 0644]
tools/tests/x86_emulator/test_x86_emulator.c
tools/tests/x86_emulator/x86-emulate.h