[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 06/15] tcg/arm: Implement minimal vector operations
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 06/15] tcg/arm: Implement minimal vector operations |
Date: |
Mon, 8 Feb 2021 18:20:57 +0000 |
On Mon, 8 Feb 2021 at 03:53, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Implementing dup2, add, sub, and, or, xor as the minimal set.
> This allows us to actually enable neon in the header file.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> tcg/arm/tcg-target-con-set.h | 3 +
> tcg/arm/tcg-target-con-str.h | 2 +
> tcg/arm/tcg-target.h | 6 +-
> tcg/arm/tcg-target.c.inc | 203 +++++++++++++++++++++++++++++++++--
> 4 files changed, 206 insertions(+), 8 deletions(-)
> + case INDEX_op_or_vec:
> + if (const_args[2]) {
> + is_shimm1632(a2, &cmode, &imm8);
> + if (a0 == a1) {
> + tcg_out_vmovi(s, a0, q, 0, cmode | 1, imm8); /* VORI */
Two 'R's in ORR.
> + return;
> + }
Otherwise
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v2 02/15] tcg/arm: Add host vector framework, (continued)
- [PATCH v2 03/15] tcg/arm: Implement tcg_out_ld/st for vector types, Richard Henderson, 2021/02/07
- [PATCH v2 04/15] tcg/arm: Implement tcg_out_mov for vector types, Richard Henderson, 2021/02/07
- [PATCH v2 07/15] tcg/arm: Implement andc, orc, abs, neg, not vector operations, Richard Henderson, 2021/02/07
- [PATCH v2 05/15] tcg/arm: Implement tcg_out_dup*_vec, Richard Henderson, 2021/02/07
- [PATCH v2 06/15] tcg/arm: Implement minimal vector operations, Richard Henderson, 2021/02/07
- Re: [PATCH v2 06/15] tcg/arm: Implement minimal vector operations,
Peter Maydell <=
- [PATCH v2 08/15] tcg/arm: Implement TCG_TARGET_HAS_shi_vec, Richard Henderson, 2021/02/07
- [PATCH v2 13/15] tcg/arm: Implement TCG_TARGET_HAS_shv_vec, Richard Henderson, 2021/02/07
- [PATCH v2 09/15] tcg/arm: Implement TCG_TARGET_HAS_mul_vec, Richard Henderson, 2021/02/07
- [PATCH v2 12/15] tcg/arm: Implement TCG_TARGET_HAS_bitsel_vec, Richard Henderson, 2021/02/07