mbox

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

Message ID 20221114233829.3329805-1-richard.henderson@linaro.org
State New
Headers show

Pull-request

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

Message

Richard Henderson Nov. 14, 2022, 11:38 p.m. UTC
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

Comments

Stefan Hajnoczi Nov. 15, 2022, 11:54 p.m. UTC | #1
Applied, thanks.

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