qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-6.2 14/34] target/arm: Implement MVE integer vector compa


From: Richard Henderson
Subject: Re: [PATCH for-6.2 14/34] target/arm: Implement MVE integer vector comparisons
Date: Fri, 16 Jul 2021 14:55:13 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 7/13/21 6:37 AM, Peter Maydell wrote:
Implement the MVE integer vector comparison instructions.  These are
"VCMP (vector)" encodings T1, T2 and T3, and "VPT (vector)" encodings
T1, T2 and T3.

These insns compare corresponding elements in each vector, and update
the VPR.P0 predicate bits with the results of the comparison.  VPT
also sets the VPR.MASK01 and VPR.MASK23 fields -- it is effectively
"VCMP then VPST".

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/helper-mve.h    | 32 ++++++++++++++++++++++
  target/arm/mve.decode      | 18 +++++++++++-
  target/arm/mve_helper.c    | 56 ++++++++++++++++++++++++++++++++++++++
  target/arm/translate-mve.c | 47 ++++++++++++++++++++++++++++++++
  4 files changed, 152 insertions(+), 1 deletion(-)

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

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]