target/arm: Use expand_pred_b in mve_helper.c
commit05dd14bdfa89ffeb1a82b08776687d44b538185b
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Jun 2022 18:38:58 +0000 (8 19:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jun 2022 18:38:58 +0000 (8 19:38 +0100)
tree344293ccac8e6984899472f79959defbd9a0026b
parent820e0bb9ce1941af82d14ec4a981792cb3697956
target/arm: Use expand_pred_b in mve_helper.c

Use the function instead of the array directly.

Because the function performs its own masking, via the uint8_t
parameter, we need to do nothing extra within the users: the bits
above the first 2 (_uh) or 4 (_uw) will be discarded by assignment
to the local bmask variables, and of course _uq uses the entire
uint64_t result.

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