]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Use asimd_imm_const for A64 decode
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 28 Jun 2021 13:58:21 +0000 (14:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jul 2021 10:48:36 +0000 (11:48 +0100)
commit2c0286dba46526ee6c23b1f28af62a857dace704
treeb8fd9d9ffd9611fb3655e7ce02da58e789caa07b
parentdfd66bc0f37dde37b8b2d7bad3a7075332e75fb4
target/arm: Use asimd_imm_const for A64 decode

The A64 AdvSIMD modified-immediate grouping uses almost the same
constant encoding that A32 Neon does; reuse asimd_imm_const() (to
which we add the AArch64-specific case for cmode 15 op 1) instead of
reimplementing it all.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210628135835.6690-5-peter.maydell@linaro.org
target/arm/translate-a64.c
target/arm/translate.c
target/arm/translate.h