OSDN Git Service

target/arm: Implement MVE VCLZ
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Jun 2021 12:15:47 +0000 (13:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 21 Jun 2021 15:49:38 +0000 (16:49 +0100)
commit0f0f2bd54817ffad1ccb15dd0fb3adf2db1ec394
tree10c016dd47ac90c511dd558f5e2f4e2efc9c18bd
parent2fc6b7510c6859478264b7402ba01dbee86b7e46
target/arm: Implement MVE VCLZ

Implement the MVE VCLZ insn (and the necessary machinery
for MVE 1-input vector ops).

Note that for non-load instructions predication is always performed
at a byte level granularity regardless of element size (R_ZLSJ),
and so the masking logic here differs from that used in the VLDR
and VSTR helpers.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210617121628.20116-4-peter.maydell@linaro.org
target/arm/helper-mve.h
target/arm/mve.decode
target/arm/mve_helper.c
target/arm/translate-mve.c