OSDN Git Service

target/arm: Implement MVE scatter-gather immediate forms
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Aug 2021 16:11:57 +0000 (17:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 25 Aug 2021 09:48:50 +0000 (10:48 +0100)
commitfac80f0856cc465b21e2e59a64146b3540e055db
treecf91a9c2bd26a40cf68c184c77dd3b19f220fb2f
parentdc18628b1833157a50a424cb6b83b63eca560402
target/arm: Implement MVE scatter-gather immediate forms

Implement the MVE VLDR/VSTR insns which do scatter-gather using base
addresses from Qm plus or minus an immediate offset (possibly with
writeback). Note that writeback is not predicated but it does have
to honour ECI state, so we have to add an eci_mask check to the
VSTR_SG macros (the VLDR_SG macros already needed this to be able
to distinguish "skip beat" from "set predicated element to 0").

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/helper-mve.h
target/arm/mve.decode
target/arm/mve_helper.c
target/arm/translate-mve.c