target/mips: Move msa_reset() to new source file
commitfed50ffd5ce4b03f94036232c613b2ca8fba06eb
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 16 Jan 2021 15:32:06 +0000 (16 16:32 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 2 May 2021 14:49:34 +0000 (2 16:49 +0200)
tree53110af34aca6e21976db92993bb1cca05c17798
parent830a72301c35548907ff05399a99f34dab9c867d
target/mips: Move msa_reset() to new source file

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.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-4-f4bug@amsat.org>
target/mips/meson.build
target/mips/msa.c [new file with mode: 0644]
target/mips/msa_helper.c