[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 13/36] tcg: Add temp allocation for TCGv_i128
From: |
Alex Bennée |
Subject: |
Re: [PATCH v5 13/36] tcg: Add temp allocation for TCGv_i128 |
Date: |
Fri, 27 Jan 2023 17:08:36 +0000 |
User-agent: |
mu4e 1.9.16; emacs 29.0.60 |
Richard Henderson <richard.henderson@linaro.org> writes:
> This enables allocation of i128. The type is not yet
> usable, as we have not yet added data movement ops.
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> include/tcg/tcg.h | 32 +++++++++++++++++++++++++
> tcg/tcg.c | 60 +++++++++++++++++++++++++++++++++--------------
> 2 files changed, 74 insertions(+), 18 deletions(-)
>
> diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h
> index 8b7e61e7a5..7a8e4bbdd7 100644
> --- a/include/tcg/tcg.h
> +++ b/include/tcg/tcg.h
> @@ -685,6 +685,11 @@ static inline TCGTemp *tcgv_i64_temp(TCGv_i64 v)
> return tcgv_i32_temp((TCGv_i32)v);
> }
>
> +static inline TCGTemp *tcgv_i128_temp(TCGv_i128 v)
> +{
> + return tcgv_i32_temp((TCGv_i32)v);
> +}
> +
Why do we have all these different allocate functions if TCGTemp's are a
shared abstract type anyway?
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
- [PATCH v5 10/36] tcg/tci: Fix big-endian return register ordering, (continued)
- [PATCH v5 10/36] tcg/tci: Fix big-endian return register ordering, Richard Henderson, 2023/01/25
- [PATCH v5 11/36] tcg/tci: Add TCG_TARGET_CALL_{RET,ARG}_I128, Richard Henderson, 2023/01/25
- [PATCH v5 12/36] tcg: Add TCG_TARGET_CALL_{RET,ARG}_I128, Richard Henderson, 2023/01/25
- [PATCH v5 14/36] tcg: Add basic data movement for TCGv_i128, Richard Henderson, 2023/01/25
- [PATCH v5 13/36] tcg: Add temp allocation for TCGv_i128, Richard Henderson, 2023/01/25
- Re: [PATCH v5 13/36] tcg: Add temp allocation for TCGv_i128,
Alex Bennée <=
- [PATCH v5 15/36] tcg: Add guest load/store primitives for TCGv_i128, Richard Henderson, 2023/01/25
- [PATCH v5 16/36] tcg: Add tcg_gen_{non}atomic_cmpxchg_i128, Richard Henderson, 2023/01/25
- [PATCH v5 17/36] tcg: Split out tcg_gen_nonatomic_cmpxchg_i{32,64}, Richard Henderson, 2023/01/25
- [PATCH v5 18/36] target/arm: Use tcg_gen_atomic_cmpxchg_i128 for STXP, Richard Henderson, 2023/01/25