target/arm: Implement MTE tag-checking functions for FEAT_MOPS copies
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Sep 2023 14:04:32 +0000 (15:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2023 15:07:14 +0000 (16:07 +0100)
commit69c51dc3723bdcb8d020f812f0d25d17b466d959
tree6aa264a09fcf9186c863d5e5ba2e1a4f677f56ed
parent6087df574400659226861fa5ba47970f1fbd277b
target/arm: Implement MTE tag-checking functions for FEAT_MOPS copies

The FEAT_MOPS memory copy operations need an extra helper routine
for checking for MTE tag checking failures beyond the ones we
already added for memory set operations:
 * mte_mops_probe_rev() does the same job as mte_mops_probe(), but
   it checks tags starting at the provided address and working
   backwards, rather than forwards

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230912140434.1333369-11-peter.maydell@linaro.org
target/arm/internals.h
target/arm/tcg/mte_helper.c