[PATCH 0/2] target/i386: two fixes for cmpxchg

Paolo Bonzini posted 2 patches 3 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220911222630.338330-1-pbonzini@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>
target/i386/tcg/translate.c | 83 +++++++++++++++++++++++++------------
1 file changed, 57 insertions(+), 26 deletions(-)
[PATCH 0/2] target/i386: two fixes for cmpxchg
Posted by Paolo Bonzini 3 years, 5 months ago
The first was found by test-x86_64, the second by inspection.  I will
shortly work on adding golden output for the tests in tests/tcg/i386,
so that we check more than "QEMU does not crash".

Paolo


Paolo Bonzini (2):
  target/i386: fix cmpxchg with 32-bit register destination
  target/i386: cmpxchg only overwrites ZF

 target/i386/tcg/translate.c | 83 +++++++++++++++++++++++++------------
 1 file changed, 57 insertions(+), 26 deletions(-)

-- 
2.37.2