qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-7.2 0/2] target/i386: misc tcg patches
@ 2022-11-11 11:40 Richard Henderson
  2022-11-11 11:40 ` [PATCH for-7.2 1/2] target/i386: fix cmpxchg with 32-bit register destination Richard Henderson
  2022-11-11 11:40 ` [PATCH for-7.2 2/2] target/i386: hardcode R_EAX as destination register for LAHF/SAHF Richard Henderson
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2022-11-11 11:40 UTC (permalink / raw)
  To: qemu-devel

While poking at cmpxchg{8,16}b this week, I remembered there
was a fix for cmpxchgl floating around.  I pulled these two
fixes out of Paolo's i386 branch and added a test case.


r~


Paolo Bonzini (2):
  target/i386: fix cmpxchg with 32-bit register destination
  target/i386: hardcode R_EAX as destination register for LAHF/SAHF

 target/i386/tcg/translate.c      | 86 +++++++++++++++++++++-----------
 tests/tcg/x86_64/cmpxchg.c       | 42 ++++++++++++++++
 tests/tcg/x86_64/Makefile.target |  1 +
 3 files changed, 101 insertions(+), 28 deletions(-)
 create mode 100644 tests/tcg/x86_64/cmpxchg.c

-- 
2.34.1



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

end of thread, other threads:[~2022-11-11 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11 11:40 [PATCH for-7.2 0/2] target/i386: misc tcg patches Richard Henderson
2022-11-11 11:40 ` [PATCH for-7.2 1/2] target/i386: fix cmpxchg with 32-bit register destination Richard Henderson
2022-11-11 11:40 ` [PATCH for-7.2 2/2] target/i386: hardcode R_EAX as destination register for LAHF/SAHF 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).