target/mips: Extract LSA/DLSA translation generators

Extract gen_lsa() from translate.c and explode it as
gen_LSA() and gen_DLSA().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201215225757.764263-22-f4bug@amsat.org>
This commit is contained in:
Philippe Mathieu-Daudé
2020-12-08 18:55:47 +01:00
parent 96e5b4c758
commit a685f7d075
4 changed files with 71 additions and 32 deletions

View File

@ -17,6 +17,7 @@ mips_ss.add(when: 'CONFIG_TCG', if_true: files(
'op_helper.c',
'tlb_helper.c',
'translate.c',
'translate_addr_const.c',
))
mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))