target/arm: Convert Neon VEXT to decodetree
commit0aad761fb0aed40c99039eacac470cbd03d07019
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jun 2020 09:32:28 +0000 (16 10:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jun 2020 09:32:28 +0000 (16 10:32 +0100)
treed6a9e4f00b3504bb26a5ff4d0278ca75c90f0786
parent77e576a9281825fc170f3b3af83f47e110549b5c
target/arm: Convert Neon VEXT to decodetree

Convert the Neon VEXT insn to decodetree. Rather than keeping the
old implementation which used fixed temporaries cpu_V0 and cpu_V1
and did the extraction with by-hand shift and logic ops, we use
the TCG extract2 insn.

We don't need to special case 0 or 8 immediates any more as the
optimizer is smart enough to throw away the dead code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/neon-dp.decode
target/arm/translate-neon.inc.c
target/arm/translate.c