Some functions defined in file target/loongarch/cpu.c are TCG specified, new file target/loongarch/tcg/tcg_cpu.c is created here and move TCG specified functions to new file.
Bibo Mao (5): target/loongarch: Move TCG specified functions to tcg_cpu.c target/loongarch: Set function loongarch_cpu_has_work() as public target/loongarch: Set file tcg_cpu.c separate from cpu.c target/loongarch: Move function do_raise_exception() to tcg_cpu.c target/loongarch: Define loongarch_exception_name() as static target/loongarch/cpu.c | 318 +------------------------- target/loongarch/cpu.h | 3 + target/loongarch/internals.h | 2 - target/loongarch/tcg/meson.build | 1 + target/loongarch/tcg/tcg_cpu.c | 322 +++++++++++++++++++++++++++ target/loongarch/tcg/tcg_loongarch.h | 1 + 6 files changed, 329 insertions(+), 318 deletions(-) create mode 100644 target/loongarch/tcg/tcg_cpu.c base-commit: ab8008b231e758e03c87c1c483c03afdd9c02e19 -- 2.39.3
