]> xenbits.xensource.com Git - qemu-xen.git/commit
target/i386: Inline cmpxchg8b
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 9 Nov 2022 04:59:03 +0000 (15:59 +1100)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 4 Feb 2023 16:19:43 +0000 (06:19 -1000)
commit326ad06cf5b2cf6f4ed7ca635269e89fd189e1a4
treea209d1cf5b9733b5dbe72cb6f8903630c81a7830
parent6218c177afb341e5a64428fcc17decbc9d6247a6
target/i386: Inline cmpxchg8b

Use tcg_gen_atomic_cmpxchg_i64 for the atomic case,
and tcg_gen_nonatomic_cmpxchg_i64 otherwise.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/i386/helper.h
target/i386/tcg/mem_helper.c
target/i386/tcg/translate.c