[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v3 18/28] tcg: Tidy tcg_n_regions
From: |
Luis Fernando Fujita Pires |
Subject: |
RE: [PATCH v3 18/28] tcg: Tidy tcg_n_regions |
Date: |
Wed, 9 Jun 2021 14:58:43 +0000 |
From: Richard Henderson <richard.henderson@linaro.org>
> Compute the value using straight division and bounds, rather than a loop.
> Pass
> in tb_size rather than reading from tcg_init_ctx.code_gen_buffer_size,
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> tcg/region.c | 29 ++++++++++++-----------------
> 1 file changed, 12 insertions(+), 17 deletions(-)
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
--
Luis Pires
Instituto de Pesquisas ELDORADO
Aviso Legal - Disclaimer <https://www.eldorado.org.br/disclaimer.html>