Re: [PATCH 03/26] target/mips: Move msa_reset() to new source file

2021-04-18 Thread Richard Henderson
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

[PATCH 03/26] target/mips: Move msa_reset() to new source file

2021-04-18 Thread Philippe Mathieu-Daudé
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