]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Use dup_const() instead of bitfield_replicate()
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 28 Jun 2021 13:58:22 +0000 (14:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jul 2021 10:48:36 +0000 (11:48 +0100)
commite4667a5b5e71d83e3e2af70e7dba4bfab8892829
tree2b344c8d6afad56d230769b2f974111f7ca2b9c9
parent2c0286dba46526ee6c23b1f28af62a857dace704
target/arm: Use dup_const() instead of bitfield_replicate()

Use dup_const() instead of bitfield_replicate() in
disas_simd_mod_imm().

(We can't replace the other use of bitfield_replicate() in this file,
in logic_imm_decode_wmask(), because that location needs to handle 2
and 4 bit elements, which dup_const() cannot.)

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