]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Adjust style in msa_translate_init()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 23 Oct 2021 07:54:20 +0000 (09:54 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Nov 2021 13:32:32 +0000 (14:32 +0100)
commitbbc213b37c1366cf64701d37a21b709c97714a2d
treed564bf96879997433d05bb20c60e862f9ff642ee
parent36b39a69b2e7649d317a08dd81da39a7c9bc14f3
target/mips: Adjust style in msa_translate_init()

While the first 'off' variable assignment is unused, it helps
to better understand the code logic. Move the assignation where
it would have been used so it is easier to compare the MSA
registers based on FPU ones versus the MSA specific registers.

Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211023214803.522078-34-f4bug@amsat.org>
target/mips/tcg/msa_translate.c