On 7/13/21 6:37 AM, Peter Maydell wrote:
Implement the MVE instructions which perform shifts by a scalar.
These are VSHL T2, VRSHL T2, VQSHL T1 and VQRSHL T2.  They take the
shift amount in a general purpose register and shift every element in
the vector by that amount.

Mostly we can reuse the helper functions for shift-by-immediate; we
do need two new helpers for VQRSHL.

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
  target/arm/helper-mve.h    |  8 +++++++
  target/arm/mve.decode      | 23 ++++++++++++++++---
  target/arm/mve_helper.c    |  2 ++
  target/arm/translate-mve.c | 46 ++++++++++++++++++++++++++++++++++++++
  4 files changed, 76 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to