target/arm: Rewrite helper_sve_ld[234]*_r
commitf27d4dc2af0de9b7b45c955882b8420905c6efe8
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 8 Oct 2018 13:55:03 +0000 (8 14:55 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 8 Oct 2018 13:55:03 +0000 (8 14:55 +0100)
tree57500a7b95c36eb183c50c4980cefa6a8c993ea6
parent9123aeb6fcb14e0955ebe4e2a613802cfa0503ea
target/arm: Rewrite helper_sve_ld[234]*_r

Use the same *_tlb primitives as we use for ld1.

For linux-user, this hoists the set of helper_retaddr.  For softmmu,
hoists the computation of the current mmu_idx outside the loop,
fixes the endianness problem, and moves the main loop out of a
macro and into an inlined function.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181005175350.30752-9-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/sve_helper.c