aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/x86_64
diff options
context:
space:
mode:
authorPaul Brook <paul@nowt.org>2022-04-24 23:02:03 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-01 20:16:33 +0200
commit91117bc546b10aeefd6d78502d82df5729f5f780 (patch)
treed87de82d96503e4ce15b65f8be4548a1be18f633 /tests/tcg/x86_64
parentbf30ad8cefeb3b199f5485c5d78f2801cd248264 (diff)
downloadqemu-91117bc546b10aeefd6d78502d82df5729f5f780.zip
qemu-91117bc546b10aeefd6d78502d82df5729f5f780.tar.gz
qemu-91117bc546b10aeefd6d78502d82df5729f5f780.tar.bz2
tests/tcg: i386: add SSE tests
Tests for correct operation of most x86-64 SSE instructions. It should cover all combinations of overlapping register and memory operands on a set of random-ish data. Results are bit-identical to an Intel i5-8500, with the exception of the RCPSS and RSQRT approximations where the real CPU gives less accurate results (the Intel spec allows relative errors up to 1.5 * 2^-12) Signed-off-by: Paul Brook <paul@nowt.org> Acked-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20220424220204.2493824-42-paul@nowt.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/tcg/x86_64')
-rw-r--r--tests/tcg/x86_64/Makefile.target1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcg/x86_64/Makefile.target b/tests/tcg/x86_64/Makefile.target
index 61d9bb4..6177fd8 100644
--- a/tests/tcg/x86_64/Makefile.target
+++ b/tests/tcg/x86_64/Makefile.target
@@ -16,6 +16,7 @@ TESTS=$(MULTIARCH_TESTS)
endif
run-test-i386-ssse3: QEMU_OPTS += -cpu max
+run-test-avx: QEMU_OPTS += -cpu max
run-plugin-test-i386-ssse3-%: QEMU_OPTS += -cpu max
test-x86_64: LDFLAGS+=-lm -lc