target/arm: Use vfp_expand_imm() for AArch32 VFP VMOV_imm
commit9bee50b498410ed6466018b26464d7384c7879e9
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Jun 2019 16:39:07 +0000 (13 17:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Jun 2019 14:14:19 +0000 (17 15:14 +0100)
tree38f1be27f7434d922cf3fbd08f95ca3b4dede1e4
parentd6a092d479333b5f20a647a912a31b0102d37335
target/arm: Use vfp_expand_imm() for AArch32 VFP VMOV_imm

The AArch32 VMOV (immediate) instruction uses the same VFP encoded
immediate format we already handle in vfp_expand_imm().  Use that
function rather than hand-decoding it.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190613163917.28589-3-peter.maydell@linaro.org
target/arm/translate-vfp.inc.c
target/arm/vfp.decode