The first was found by test-x86_64, the second by inspection. I will shortly work on adding golden output for the tests in tests/tcg/i386, so that we check more than "QEMU does not crash".
Paolo Paolo Bonzini (2): target/i386: fix cmpxchg with 32-bit register destination target/i386: cmpxchg only overwrites ZF target/i386/tcg/translate.c | 83 +++++++++++++++++++++++++------------ 1 file changed, 57 insertions(+), 26 deletions(-) -- 2.37.2