OSDN Git Service

target/mips: Don't check COP1X for 64 bit FP mode
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Wed, 2 Nov 2022 16:57:18 +0000 (16:57 +0000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 8 Nov 2022 00:04:25 +0000 (01:04 +0100)
commit2a2105a26219695c72bfc7cab9b7d37754fc0920
tree818f9a0936e9ffa20f5a7ce6a8708ac1e60b97b6
parent4bfc895383ed65b83d55a8ae5738a166c1cc48f1
target/mips: Don't check COP1X for 64 bit FP mode

Some implementations (i.e. Loongson-2F) may decide to implement
a 64 bit FPU without implementing COP1X instructions.

As the eligibility of 64 bit FP instructions is already determined
by CP0St_FR, there is no need to check for COP1X again.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221102165719.190378-1-jiaxun.yang@flygoat.com>
[PMD: Add missing trailing parenthesis (buildfix)]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
target/mips/tcg/translate.c