On 6/11/20 7:45 AM, Peter Maydell wrote: > 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.mayd...@linaro.org> > --- > target/arm/neon-dp.decode | 8 +++- > target/arm/translate-neon.inc.c | 76 +++++++++++++++++++++++++++++++++ > target/arm/translate.c | 58 +------------------------ > 3 files changed, 85 insertions(+), 57 deletions(-)
Nice cleanup. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~