target/mips: Do not initialize MT registers if MT ASE absent
commitecc268e7c2488c0285684fad6d04cac6a794991d
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 2 Dec 2020 17:53:20 +0000 (2 18:53 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 13 Dec 2020 19:26:02 +0000 (13 20:26 +0100)
tree491e44e3466c5f7ff8e96ef24a4e00611d419c2c
parent17c2c320f3c216f80c2fad1f0fa9358c2ffbd0d3
target/mips: Do not initialize MT registers if MT ASE absent

Do not initialize MT-related config registers if the MT ASE
is not present. As some functions access the 'mvp' structure,
we still zero-allocate it.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201204222622.2743175-4-f4bug@amsat.org>
target/mips/translate_init.c.inc