On 4/18/21 9:31 AM, Philippe Mathieu-Daudé wrote:
mips_cpu_reset() is used by all accelerators, and calls
msa_reset(), which is defined in msa_helper.c.
Beside msa_reset(), the rest of msa_helper.c is only useful
to the TCG accelerator. To be able to restrict this helper
file to TCG, we need to move msa_reset() out of it.
Signed-off-by: Philippe Mathieu-Daudé<f4...@amsat.org>
---
target/mips/msa.c | 60 ++++++++++++++++++++++++++++++++++++++++
target/mips/msa_helper.c | 36 ------------------------
target/mips/meson.build | 1 +
3 files changed, 61 insertions(+), 36 deletions(-)
create mode 100644 target/mips/msa.c
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>