x86emul: add a PCLMUL/VPCLMUL test case to the harness
authorJan Beulich <jbeulich@suse.com>
Wed, 17 Jul 2019 13:46:08 +0000 (15:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Jul 2019 13:46:08 +0000 (15:46 +0200)
commitc0a0acb7271f822b455be401a37120be61146036
treeb799bb8b4a946b4a3b629398a538cd669bfbbc15
parentd66d8e5bf0f3d46b744f2b24e878ac7d6c50a16d
x86emul: add a PCLMUL/VPCLMUL test case to the harness

Also use this for AVX512_VBMI2 VPSH{L,R}D{,V}{D,Q,W} testing (only the
quad word right shifts get actually used; the assumption is that their
"left" counterparts as well as the double word and word forms then work
as well).

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