]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg: Formalize tcg_out_mb
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 21 Jan 2025 04:47:42 +0000 (20:47 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Apr 2025 20:40:17 +0000 (13:40 -0700)
commite038696c9293f34dc7ccd4adac2c2f221a65a8e3
treefc05409b38aeba1402833c604b65f32d23656f94
parentf2b1708e8080ab1beb0a2bf52a79a51e8de335cb
tcg: Formalize tcg_out_mb

Most tcg backends already have a function for this;
the rest can split one out from tcg_out_op.
Call it directly from tcg_gen_code.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/aarch64/tcg-target.c.inc
tcg/arm/tcg-target.c.inc
tcg/i386/tcg-target.c.inc
tcg/loongarch64/tcg-target.c.inc
tcg/mips/tcg-target.c.inc
tcg/ppc/tcg-target.c.inc
tcg/riscv/tcg-target.c.inc
tcg/s390x/tcg-target.c.inc
tcg/sparc64/tcg-target.c.inc
tcg/tcg.c
tcg/tci/tcg-target.c.inc