On 30/1/23 22:48, Richard Henderson wrote:
Use tcg_gen_atomic_cmpxchg_i64 for the atomic case,
and tcg_gen_nonatomic_cmpxchg_i64 otherwise.
Signed-off-by: Richard Henderson <[email protected]>
---
Cc: Paolo Bonzini <[email protected]>
Cc: Eduardo Habkost <[email protected]>
---
target/i386/helper.h | 2 --
target/i386/tcg/mem_helper.c | 57 ------------------------------------
target/i386/tcg/translate.c | 54 ++++++++++++++++++++++++++++++----
3 files changed, 49 insertions(+), 64 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>