mbox series

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

Message ID 20220911222630.338330-1-pbonzini@redhat.com
Headers show
Series target/i386: two fixes for cmpxchg | expand

Message

Paolo Bonzini Sept. 11, 2022, 10:26 p.m. UTC
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(-)