[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 46/67] target/arm: Convert SQSHL and UQSHL (register) to g
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 46/67] target/arm: Convert SQSHL and UQSHL (register) to gvec |
Date: |
Tue, 28 May 2024 16:53:03 +0100 |
On Sat, 25 May 2024 at 00:28, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/arm/helper.h | 8 ++++++++
> target/arm/tcg/translate.h | 4 ++++
> target/arm/tcg/neon-dp.decode | 10 ++-------
> target/arm/tcg/gengvec.c | 24 ++++++++++++++++++++++
> target/arm/tcg/neon_helper.c | 36 +++++++++++++++++++++++++++++++++
> target/arm/tcg/translate-a64.c | 17 +++++++---------
> target/arm/tcg/translate-neon.c | 6 ++----
> 7 files changed, 83 insertions(+), 22 deletions(-)
> +#define NEON_GVEC_VOP2_ENV(name, vtype) \
> +void HELPER(name)(void *vd, void *vn, void *vm, void *venv, uint32_t desc) \
> +{ \
> + intptr_t i, opr_sz = simd_oprsz(desc); \
> + vtype *d = vd, *n = vn, *m = vm; \
> + CPUARMState *env = venv; \
> + for (i = 0; i < opr_sz / sizeof(vtype); i++) { \
> + NEON_FN(d[i], n[i], m[i]); \
> + } \
> + clear_tail(d, opr_sz, simd_maxsz(desc)); \
> +}
> +
Same question about H macros as for patch 44.
-- PMM
- Re: [PATCH v2 43/67] target/arm: Convert SSHL, USHL to decodetree, (continued)
- [PATCH v2 42/67] target/arm: Convert SUQADD, USQADD to decodetree, Richard Henderson, 2024/05/24
- [PATCH v2 45/67] target/arm: Convert SRSHL, URSHL to decodetree, Richard Henderson, 2024/05/24
- [PATCH v2 48/67] target/arm: Convert SQRSHL and UQRSHL (register) to gvec, Richard Henderson, 2024/05/24
- [PATCH v2 57/67] target/arm: Convert SHSUB, UHSUB to decodetree, Richard Henderson, 2024/05/24
- [PATCH v2 46/67] target/arm: Convert SQSHL and UQSHL (register) to gvec, Richard Henderson, 2024/05/24
- Re: [PATCH v2 46/67] target/arm: Convert SQSHL and UQSHL (register) to gvec,
Peter Maydell <=
- [PATCH v2 64/67] target/arm: Tidy SQDMULH, SQRDMULH (vector), Richard Henderson, 2024/05/24
- [PATCH v2 51/67] target/arm: Convert CMGT, CMHI, CMGE, CMHS, CMTST, CMEQ to decodetree, Richard Henderson, 2024/05/24
- [PATCH v2 62/67] target/arm: Convert MUL, PMUL to decodetree, Richard Henderson, 2024/05/24
- [PATCH v2 56/67] target/arm: Convert SHSUB, UHSUB to gvec, Richard Henderson, 2024/05/24
- [PATCH v2 59/67] target/arm: Convert SRHADD, URHADD to decodetree, Richard Henderson, 2024/05/24