]> xenbits.xensource.com Git - qemu-xen.git/commit
target/arm: Fix MVE widening/narrowing VLDR/VSTR offset calculation
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 28 Jun 2021 13:58:18 +0000 (14:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jul 2021 10:48:36 +0000 (11:48 +0100)
commitd59ccc30f64249d5727bc084e0f3cf4b2483117b
tree19fe72be98c38645546b15aaf6f1e4d7e04fcec6
parente3bcf57c1a3c498fe7bd1f18744614a802d8859a
target/arm: Fix MVE widening/narrowing VLDR/VSTR offset calculation

In do_ldst(), the calculation of the offset needs to be based on the
size of the memory access, not the size of the elements in the
vector.  This meant we were getting it wrong for the widening and
narrowing variants of the various VLDR and VSTR insns.

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