target/mips: Use CP0_Config3 to set MIPS_HFLAG_MSA
commitaa314198ca8d51e5c250e83a5cf160b38db6a7d9
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 29 Nov 2020 22:32:27 +0000 (29 23:32 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 14 Jan 2021 16:13:53 +0000 (14 17:13 +0100)
tree9c44805e3c839e33b2218dee863d9cf946cff22a
parent72f31f60f829980ad22da8049bb41af0dc49c3f4
target/mips: Use CP0_Config3 to set MIPS_HFLAG_MSA

MSA presence is expressed by the MSAP bit of CP0_Config3.
We don't need to check anything else.

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>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <20201208003702.4088927-4-f4bug@amsat.org>
target/mips/internal.h