tcg/loongarch64: Introduce prepare_host_addr
commite63eed328f20e114c009f0dda98fdc6a58312e1c
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 23 Apr 2023 16:02:44 +0000 (23 17:02 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 11 May 2023 08:53:41 +0000 (11 09:53 +0100)
treef5039f684fe129afa901cec030ce92c03c21fd5b
parent7131d3cf72af0ecd54d325cbe2d88db144e52fed
tcg/loongarch64: Introduce prepare_host_addr

Merge tcg_out_tlb_load, add_qemu_ldst_label, tcg_out_test_alignment,
tcg_out_zext_addr_if_32_bit, and some code that lived in both
tcg_out_qemu_ld and tcg_out_qemu_st into one function that returns
HostAddress and TCGLabelQemuLdst structures.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/loongarch64/tcg-target.c.inc