target/i386: Inline cmpxchg16b
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 9 Nov 2022 12:53:10 +0000 (23:53 +1100)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 4 Feb 2023 16:19:43 +0000 (06:19 -1000)
commit5f0dd8cd33cb6c753ed4435e13bd0622a38a9967
tree1ea102dfde103ce1152ddfeca81e3fa976eed752
parent326ad06cf5b2cf6f4ed7ca635269e89fd189e1a4
target/i386: Inline cmpxchg16b

Use tcg_gen_atomic_cmpxchg_i128 for the atomic case,
and tcg_gen_qemu_ld/st_i128 otherwise.

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