[PATCH for-7.2 0/2] target/i386: misc tcg patches

Richard Henderson posted 2 patches 1 year, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221111114044.2510256-1-richard.henderson@linaro.org
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>
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
[PATCH for-7.2 0/2] target/i386: misc tcg patches
Posted by Richard Henderson 1 year, 5 months ago
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