qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 34/48] accel/tcg: Move most of gen-icount.h into translato


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 34/48] accel/tcg: Move most of gen-icount.h into translator.c
Date: Wed, 31 May 2023 07:21:46 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 31/5/23 06:03, Richard Henderson wrote:
The only usage of gen_tb_start and gen_tb_end are here.
Move the static icount_start_insn variable into a local
within translator_loop.  Simplify the two subroutines
by passing in the existing local cflags variable.

Leave only the declaration of gen_io_start in gen-icount.h.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  include/exec/gen-icount.h | 79 +------------------------------------
  accel/tcg/translator.c    | 83 ++++++++++++++++++++++++++++++++++++++-
  2 files changed, 82 insertions(+), 80 deletions(-)

Nice!

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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