qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] target/i386: two fixes for cmpxchg
@ 2022-09-11 22:26 Paolo Bonzini
  2022-09-11 22:26 ` [PATCH 1/2] target/i386: fix cmpxchg with 32-bit register destination Paolo Bonzini
  2022-09-11 22:26 ` [PATCH 2/2] target/i386: cmpxchg only overwrites ZF Paolo Bonzini
  0 siblings, 2 replies; 6+ messages in thread
From: Paolo Bonzini @ 2022-09-11 22:26 UTC (permalink / raw)
  To: qemu-devel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-14 23:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-11 22:26 [PATCH 0/2] target/i386: two fixes for cmpxchg Paolo Bonzini
2022-09-11 22:26 ` [PATCH 1/2] target/i386: fix cmpxchg with 32-bit register destination Paolo Bonzini
2022-09-12  7:55   ` Richard Henderson
2022-09-14 23:50     ` Paolo Bonzini
2022-09-11 22:26 ` [PATCH 2/2] target/i386: cmpxchg only overwrites ZF Paolo Bonzini
2022-09-12  7:58   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).