tcg/riscv: Introduce prepare_host_addr
commit001dddfe0ed9bbc099deab1fde829fc9292f4d25
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 23 Apr 2023 20:06:38 +0000 (23 21:06 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 11 May 2023 08:53:41 +0000 (11 09:53 +0100)
treef0d9e3c8ec6be3dabaa4457d5da0645f61d781b0
parent7069e036999b78f83f0303e275c1c4413dfa10a3
tcg/riscv: Introduce prepare_host_addr

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

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