OSDN Git Service

target/arm: Factor out mve_eci_mask()
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Aug 2021 16:11:49 +0000 (17:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 25 Aug 2021 09:48:49 +0000 (10:48 +0100)
commite0d40070e1b3b6cf16ad2a51e85fb92261363d2a
tree7e8ab68e9e90624cfe46cd8884dfba5bcf3f34a4
parent3f4f1880c245453b75d4c09049845b19de9964bf
target/arm: Factor out mve_eci_mask()

In some situations we need a mask telling us which parts of the
vector correspond to beats that are not being executed because of
ECI, separately from the combined "which bytes are predicated away"
mask.  Factor this mask calculation out of mve_element_mask() into
its own function.

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