target/mips: Remove duplicated check_cp1_enabled() calls in Loongson EXT
commitc1feb46d12a7e7aeed804f2cca69f509c1bea8ef
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 16 Aug 2021 00:04:04 +0000 (16 02:04 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 25 Aug 2021 11:02:14 +0000 (25 13:02 +0200)
tree68e533f362c8bebad5247cf6ee5620b5ab4315f9
parent71ed30b7d4c7bc7d8069eba601d7384e378f3024
target/mips: Remove duplicated check_cp1_enabled() calls in Loongson EXT

We already call check_cp1_enabled() earlier in the "pre-conditions"
checks for GSLWXC1 and GSLDXC1 in gen_loongson_lsdc2() prologue.
Remove the duplicated calls.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Message-Id: <20210816001031.1720432-1-f4bug@amsat.org>
target/mips/tcg/translate.c