target/arm: Add sve infrastructure for page lookup
commitb4cd95d2f4c7197b844f51b29871d888063ea3e7
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 8 May 2020 15:43:49 +0000 (8 08:43 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 May 2020 10:22:06 +0000 (11 11:22 +0100)
tree897dd60d91ebad274213a4c4691f4c5a9e25a41a
parentf32e2ab65f3a0fc03d58936709e5a565c4b0db50
target/arm: Add sve infrastructure for page lookup

For contiguous predicated memory operations, we want to
minimize the number of tlb lookups performed.  We have
open-coded this for sve_ld1_r, but for correctness with
MTE we will need this for all of the memory operations.

Create a structure that holds the bounds of active elements,
and metadata for two pages.  Add routines to find those
active elements, lookup the pages, and run watchpoints
for those pages.

Temporarily mark the functions unused to avoid Werror.

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