aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/x86_64/Makefile.target
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-01-14 15:21:03 -1000
committerPaolo Bonzini <pbonzini@redhat.com>2023-02-16 16:57:34 +0100
commit6fbef9426bac7184b5d5887589d8386e732865eb (patch)
tree1775912c03ae2106dd3f106e65eb31501123a5ca /tests/tcg/x86_64/Makefile.target
parent003ba52a8b327180e284630b289c6ece5a3e08b9 (diff)
downloadqemu-6fbef9426bac7184b5d5887589d8386e732865eb.zip
qemu-6fbef9426bac7184b5d5887589d8386e732865eb.tar.gz
qemu-6fbef9426bac7184b5d5887589d8386e732865eb.tar.bz2
target/i386: Fix 32-bit AD[CO]X insns in 64-bit mode
Failure to truncate the inputs results in garbage for the carry-out. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1373 Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230115012103.3131796-1-richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/tcg/x86_64/Makefile.target')
-rw-r--r--tests/tcg/x86_64/Makefile.target3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcg/x86_64/Makefile.target b/tests/tcg/x86_64/Makefile.target
index 4eac782..e64aab1 100644
--- a/tests/tcg/x86_64/Makefile.target
+++ b/tests/tcg/x86_64/Makefile.target
@@ -12,11 +12,14 @@ ifeq ($(filter %-linux-user, $(TARGET)),$(TARGET))
X86_64_TESTS += vsyscall
X86_64_TESTS += noexec
X86_64_TESTS += cmpxchg
+X86_64_TESTS += adox
TESTS=$(MULTIARCH_TESTS) $(X86_64_TESTS) test-x86_64
else
TESTS=$(MULTIARCH_TESTS)
endif
+adox: CFLAGS=-O2
+
run-test-i386-ssse3: QEMU_OPTS += -cpu max
run-plugin-test-i386-ssse3-%: QEMU_OPTS += -cpu max