mbox series

[0/4] accel/tcg: Create io_recompile_replay_branch hook

Message ID 20210208233906.479571-1-richard.henderson@linaro.org
Headers show
Series accel/tcg: Create io_recompile_replay_branch hook | expand

Message

Richard Henderson Feb. 8, 2021, 11:39 p.m. UTC
I noticed this today while Alex and I were discussing cpu_io_recompile.
This cleanup seems much easier now that Claudio has split out TCGCPUOps.

I see that mips has a ReplayKernel test, but sh4 does not, so this
probably has non-zero testing.


r~


Richard Henderson (4):
  exec: Move TranslationBlock typedef to qemu/typedefs.h
  accel/tcg: Create io_recompile_replay_branch hook
  target/mips: Create mips_io_recompile_replay_branch
  target/sh4: Create superh_io_recompile_replay_branch

 include/exec/tb-context.h     |  1 -
 include/hw/core/cpu.h         |  4 +---
 include/hw/core/tcg-cpu-ops.h | 13 +++++++++++--
 include/qemu/typedefs.h       |  1 +
 target/arm/internals.h        |  3 +--
 accel/tcg/translate-all.c     | 31 ++++++++++---------------------
 target/cris/translate.c       |  2 +-
 target/lm32/translate.c       |  2 +-
 target/mips/cpu.c             | 18 ++++++++++++++++++
 target/moxie/translate.c      |  2 +-
 target/sh4/cpu.c              | 18 ++++++++++++++++++
 target/unicore32/translate.c  |  2 +-
 12 files changed, 64 insertions(+), 33 deletions(-)

-- 
2.25.1

Comments

Alex Bennée Feb. 9, 2021, 4:51 p.m. UTC | #1
Richard Henderson <richard.henderson@linaro.org> writes:

> I noticed this today while Alex and I were discussing cpu_io_recompile.

> This cleanup seems much easier now that Claudio has split out TCGCPUOps.

>

> I see that mips has a ReplayKernel test, but sh4 does not, so this

> probably has non-zero testing.


All looks good to me so have a:

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>


for the series. I'm going to re-post with the patches I've added to make
one nice clean-up patch ;-)

>

>

> r~

>

>

> Richard Henderson (4):

>   exec: Move TranslationBlock typedef to qemu/typedefs.h

>   accel/tcg: Create io_recompile_replay_branch hook

>   target/mips: Create mips_io_recompile_replay_branch

>   target/sh4: Create superh_io_recompile_replay_branch

>

>  include/exec/tb-context.h     |  1 -

>  include/hw/core/cpu.h         |  4 +---

>  include/hw/core/tcg-cpu-ops.h | 13 +++++++++++--

>  include/qemu/typedefs.h       |  1 +

>  target/arm/internals.h        |  3 +--

>  accel/tcg/translate-all.c     | 31 ++++++++++---------------------

>  target/cris/translate.c       |  2 +-

>  target/lm32/translate.c       |  2 +-

>  target/mips/cpu.c             | 18 ++++++++++++++++++

>  target/moxie/translate.c      |  2 +-

>  target/sh4/cpu.c              | 18 ++++++++++++++++++

>  target/unicore32/translate.c  |  2 +-

>  12 files changed, 64 insertions(+), 33 deletions(-)



-- 
Alex Bennée