[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-7.2 0/2] target/i386: misc tcg patches
From: |
Richard Henderson |
Subject: |
[PATCH for-7.2 0/2] target/i386: misc tcg patches |
Date: |
Fri, 11 Nov 2022 21:40:42 +1000 |
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
- [PATCH for-7.2 0/2] target/i386: misc tcg patches,
Richard Henderson <=