target/mips: Move msa_reset() to msa_helper.c
commit03e4d95c91fb29e27b0248dd18c236c6fcc8dc02
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 30 Nov 2020 12:47:40 +0000 (30 13:47 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 14 Jan 2021 16:13:53 +0000 (14 17:13 +0100)
tree1644b6ab5b603161b3521947c8241da9a4f3a8c8
parent810fda17c8ea9b93f7c2bcc48e70cf7a3dbc7e91
target/mips: Move msa_reset() to msa_helper.c

translate_init.c.inc mostly contains CPU definitions.
msa_reset() doesn't belong here, move it with the MSA
helpers.

One comment style is updated to avoid checkpatch.pl warning.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201215225757.764263-15-f4bug@amsat.org>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
target/mips/cpu-defs.c.inc
target/mips/cpu.c
target/mips/internal.h
target/mips/msa_helper.c