x86emul: test coverage for SSE/SSE2 insns
authorJan Beulich <jbeulich@suse.com>
Tue, 7 Mar 2017 16:06:38 +0000 (17:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Mar 2017 16:06:38 +0000 (17:06 +0100)
commitfbd826bd874663d4e6c5a7222695c7827bc5ea9f
tree6b9e2e797ffa3b5d5a48d3ff4c1029d7e232a144
parent50b73118d5b5dc57dbd992fbeb7cfb1cc965be24
x86emul: test coverage for SSE/SSE2 insns

... and their AVX equivalents. Note that a few instructions aren't
covered (yet), but those all fall into common pattern groups, so I
would hope that for now we can do with what is there.

MMX insns aren't being covered at all, as they're not easy to deal
with: The compiler refuses to emit such for other than uses of built-in
functions.

The current way of testing AVX insns is meant to be temporary only:
Once we fully support that feature, the present tests should rather be
replaced than full ones simply added.

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/simd.c [new file with mode: 0644]
tools/tests/x86_emulator/test_x86_emulator.c