[PULL 0/2] target/i386: fix cmpxchgl, lahf, sahf

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/20221114233829.3329805-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
[PULL 0/2] target/i386: fix cmpxchgl, lahf, sahf
Posted by Richard Henderson 1 year, 5 months ago
The following changes since commit 98f10f0e2613ba1ac2ad3f57a5174014f6dcb03d:

  Merge tag 'pull-target-arm-20221114' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-11-14 13:31:17 -0500)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-x86-20221115

for you to fetch changes up to 35d95e4126d83c0bb0de83007494d184f6111b3d:

  target/i386: hardcode R_EAX as destination register for LAHF/SAHF (2022-11-15 09:34:42 +1000)

----------------------------------------------------------------
Fix cmpxchgl writeback to rax.
Fix lahf/sahf for 64-bit

----------------------------------------------------------------
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
Re: [PULL 0/2] target/i386: fix cmpxchgl, lahf, sahf
Posted by Stefan Hajnoczi 1 year, 5 months ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/7.2 for any user-visible changes.