target/mips: Extract decode_64bit_enabled() helper
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 26 Oct 2024 17:15:26 +0000 (14:15 -0300)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 3 Nov 2024 08:49:12 +0000 (05:49 -0300)
commit1b63c0b7a5879f7bbea4740697932706446b1ad9
tree705833970973b42a74e0155daff278c4e30d1d44
parent5d3d52229b19509eaace662096a52dc91f712fc1
target/mips: Extract decode_64bit_enabled() helper

Extract the decode_64bit_enabled() helper which detects
whether CPUs can run 64-bit instructions.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241026175349.84523-2-philmd@linaro.org>
target/mips/tcg/translate.c
target/mips/tcg/translate.h