OSDN Git Service

target/arm: Adjust interface of sve_ld1_host_fn
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 8 May 2020 15:43:50 +0000 (08:43 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 May 2020 10:22:06 +0000 (11:22 +0100)
commitcf4a49b71b1712142d7122025a8ca7ea5b59d73f
treec7228d8c4f036dcddd389cc1e32c882f972eccc5
parentb4cd95d2f4c7197b844f51b29871d888063ea3e7
target/arm: Adjust interface of sve_ld1_host_fn

The current interface includes a loop; change it to load a
single element.  We will then be able to use the function
for ld{2,3,4} where individual vector elements are not adjacent.

Replace each call with the simplest possible loop over active
elements.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200508154359.7494-11-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/sve_helper.c