]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/tcg.c
tcg: Introduce tcg_out_movext2
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 6 Apr 2023 05:27:03 +0000 (22:27 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 May 2023 20:05:45 +0000 (13:05 -0700)
commit129f1f9ee7df77d367d961b3c25353612d33cd83
treed1aa3082a2b2e1fbcdac6446643974e8a2ec0e1e
parentc6a98619f7179a3564008ea9c9b3672821a6812f
tcg: Introduce tcg_out_movext2

This is common code in most qemu_{ld,st} slow paths, moving two
registers when there may be overlap between sources and destinations.
At present, this is only used by 32-bit hosts for 64-bit data,
but will shortly be used for more than that.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/arm/tcg-target.c.inc
tcg/i386/tcg-target.c.inc
tcg/tcg.c