target/mips: Have check_msa_access() return a boolean
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 23 Oct 2021 07:57:16 +0000 (09:57 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Nov 2021 13:32:32 +0000 (14:32 +0100)
commit340ee8b3f1872c7f8969a5eb48fc3b5a9284e27b
treef99393c7357bc24f05ea56befa2bc756e2f7bc3b
parent40f75c02d4c796cb54826b65edd2e2530e5129f8
target/mips: Have check_msa_access() return a boolean

Have check_msa_access() return a boolean value so we can
return early if MSA is not enabled (the instruction got
decoded properly, but we raised an exception).

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: <20211028210843.2120802-6-f4bug@amsat.org>
target/mips/tcg/msa_translate.c