[PULL 00/34] tcg patch queue

Richard Henderson posted 34 patches 6 months, 1 week ago
Failed in applying to current master (apply log)
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, Michael Rolnik <mrolnik@gmail.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Brian Cain <bcain@quicinc.com>, Eduardo Habkost <eduardo@habkost.net>, Song Gao <gaosong@loongson.cn>, Laurent Vivier <laurent@vivier.eu>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <arikalo@gmail.com>, Stafford Horne <shorne@gmail.com>, Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bmeng.cn@gmail.com>, Weiwei Li <liwei1518@gmail.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Max Filippov <jcmvbkbc@gmail.com>, WANG Xuerui <git@xen0n.name>
There is a newer version of this series
disas/disas-internal.h           |   4 +
include/disas/disas.h            |   9 +-
include/exec/cpu_ldst.h          |  10 --
include/exec/plugin-gen.h        |   7 +-
include/exec/translator.h        |  74 ++++++---
include/qemu/plugin.h            |  22 +--
include/qemu/qemu-plugin.h       |  15 +-
include/qemu/typedefs.h          |   1 +
include/tcg/tcg.h                |   1 +
accel/tcg/plugin-gen.c           |  63 +++-----
accel/tcg/translator.c           | 331 ++++++++++++++++++++++++--------------
contrib/plugins/execlog.c        |   5 +-
contrib/plugins/howvec.c         |   4 +-
disas/disas-common.c             | 104 ++++++++++++
disas/disas-host.c               | 129 +++++++++++++++
disas/disas-mon.c                |  15 ++
disas/disas-target.c             |  99 ++++++++++++
disas/disas.c                    | 338 ---------------------------------------
disas/objdump.c                  |  37 +++++
plugins/api.c                    |  57 +++++--
target/alpha/translate.c         |   9 --
target/arm/tcg/translate-a64.c   |  11 --
target/arm/tcg/translate.c       |  12 --
target/avr/translate.c           |  11 +-
target/cris/translate.c          |  37 +----
target/hexagon/translate.c       |  11 +-
target/hppa/translate.c          |  21 ++-
target/i386/tcg/translate.c      |  19 +--
target/loongarch/tcg/translate.c |   8 -
target/m68k/translate.c          |   9 --
target/microblaze/translate.c    |  11 +-
target/mips/tcg/translate.c      |   9 --
target/openrisc/translate.c      |  11 --
target/ppc/translate.c           |   9 --
target/riscv/translate.c         |  24 +--
target/rx/translate.c            |  35 ++--
target/s390x/tcg/translate.c     |  26 ++-
target/sh4/translate.c           |   9 --
target/sparc/translate.c         |   9 --
target/tricore/translate.c       |   9 --
target/xtensa/translate.c        |  12 +-
tcg/tcg.c                        |  12 --
target/cris/translate_v10.c.inc  |  30 ++--
tcg/loongarch64/tcg-target.c.inc | 103 +++++++++---
disas/meson.build                |   8 +-
45 files changed, 899 insertions(+), 891 deletions(-)
create mode 100644 disas/disas-common.c
create mode 100644 disas/disas-host.c
create mode 100644 disas/disas-target.c
delete mode 100644 disas/disas.c
create mode 100644 disas/objdump.c
[PULL 00/34] tcg patch queue
Posted by Richard Henderson 6 months, 1 week ago
The following changes since commit 3d48b6b687c558a042d91370633b91c6e29e0e05:

  Merge tag 'pull-request-2024-05-14' of https://gitlab.com/thuth/qemu into staging (2024-05-14 17:24:04 +0200)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240515

for you to fetch changes up to c9290dfebfdba5c13baa5e1f10e13a1c876b0643:

  tcg/loongarch64: Fill out tcg_out_{ld,st} for vector regs (2024-05-15 08:57:39 +0200)

----------------------------------------------------------------
tcg/loongarch64: Fill out tcg_out_{ld,st} for vector regs
accel/tcg: Improve disassembly for target and plugin

----------------------------------------------------------------
Philippe Mathieu-Daudé (1):
      accel/tcg: Remove cpu_ldsb_code / cpu_ldsw_code

Richard Henderson (33):
      accel/tcg: Use vaddr in translator_ld*
      accel/tcg: Hide in_same_page outside of a target-specific context
      accel/tcg: Pass DisasContextBase to translator_fake_ldb
      accel/tcg: Reorg translator_ld*
      accel/tcg: Cap the translation block when we encounter mmio
      accel/tcg: Record mmio bytes during translation
      accel/tcg: Record when translator_fake_ldb is used
      accel/tcg: Record DisasContextBase in tcg_ctx for plugins
      plugins: Copy memory in qemu_plugin_insn_data
      accel/tcg: Implement translator_st
      plugins: Use translator_st for qemu_plugin_insn_data
      plugins: Read mem_only directly from TB cflags
      plugins: Use DisasContextBase for qemu_plugin_insn_haddr
      plugins: Use DisasContextBase for qemu_plugin_tb_vaddr
      plugins: Merge  alloc_tcg_plugin_context into plugin_gen_tb_start
      accel/tcg: Provide default implementation of disas_log
      accel/tcg: Return bool from TranslatorOps.disas_log
      disas: Split disas.c
      disas: Use translator_st to get disassembly data
      accel/tcg: Introduce translator_fake_ld
      target/s390x: Fix translator_fake_ld length
      target/s390x: Disassemble EXECUTEd instructions
      target/hexagon: Use translator_ldl in pkt_crosses_page
      target/microblaze: Use translator_ldl
      target/i386: Use translator_ldub for everything
      target/avr: Use translator_lduw
      target/cris: Use translator_ld* in cris_fetch
      target/cris: Use cris_fetch in translate_v10.c.inc
      target/riscv: Use translator_ld* for everything
      target/rx: Use translator_ld*
      target/xtensa: Use translator_ldub in xtensa_insn_len
      target/s390x: Use translator_lduw in get_next_pc
      tcg/loongarch64: Fill out tcg_out_{ld,st} for vector regs

 disas/disas-internal.h           |   4 +
 include/disas/disas.h            |   9 +-
 include/exec/cpu_ldst.h          |  10 --
 include/exec/plugin-gen.h        |   7 +-
 include/exec/translator.h        |  74 ++++++---
 include/qemu/plugin.h            |  22 +--
 include/qemu/qemu-plugin.h       |  15 +-
 include/qemu/typedefs.h          |   1 +
 include/tcg/tcg.h                |   1 +
 accel/tcg/plugin-gen.c           |  63 +++-----
 accel/tcg/translator.c           | 331 ++++++++++++++++++++++++--------------
 contrib/plugins/execlog.c        |   5 +-
 contrib/plugins/howvec.c         |   4 +-
 disas/disas-common.c             | 104 ++++++++++++
 disas/disas-host.c               | 129 +++++++++++++++
 disas/disas-mon.c                |  15 ++
 disas/disas-target.c             |  99 ++++++++++++
 disas/disas.c                    | 338 ---------------------------------------
 disas/objdump.c                  |  37 +++++
 plugins/api.c                    |  57 +++++--
 target/alpha/translate.c         |   9 --
 target/arm/tcg/translate-a64.c   |  11 --
 target/arm/tcg/translate.c       |  12 --
 target/avr/translate.c           |  11 +-
 target/cris/translate.c          |  37 +----
 target/hexagon/translate.c       |  11 +-
 target/hppa/translate.c          |  21 ++-
 target/i386/tcg/translate.c      |  19 +--
 target/loongarch/tcg/translate.c |   8 -
 target/m68k/translate.c          |   9 --
 target/microblaze/translate.c    |  11 +-
 target/mips/tcg/translate.c      |   9 --
 target/openrisc/translate.c      |  11 --
 target/ppc/translate.c           |   9 --
 target/riscv/translate.c         |  24 +--
 target/rx/translate.c            |  35 ++--
 target/s390x/tcg/translate.c     |  26 ++-
 target/sh4/translate.c           |   9 --
 target/sparc/translate.c         |   9 --
 target/tricore/translate.c       |   9 --
 target/xtensa/translate.c        |  12 +-
 tcg/tcg.c                        |  12 --
 target/cris/translate_v10.c.inc  |  30 ++--
 tcg/loongarch64/tcg-target.c.inc | 103 +++++++++---
 disas/meson.build                |   8 +-
 45 files changed, 899 insertions(+), 891 deletions(-)
 create mode 100644 disas/disas-common.c
 create mode 100644 disas/disas-host.c
 create mode 100644 disas/disas-target.c
 delete mode 100644 disas/disas.c
 create mode 100644 disas/objdump.c

Re: [PULL 00/34] tcg patch queue
Posted by Richard Henderson 6 months, 1 week ago
On 5/15/24 09:52, Richard Henderson wrote:
> The following changes since commit 3d48b6b687c558a042d91370633b91c6e29e0e05:
> 
>    Merge tag 'pull-request-2024-05-14' ofhttps://gitlab.com/thuth/qemu  into staging (2024-05-14 17:24:04 +0200)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/rth7680/qemu.git  tags/pull-tcg-20240515
> 
> for you to fetch changes up to c9290dfebfdba5c13baa5e1f10e13a1c876b0643:
> 
>    tcg/loongarch64: Fill out tcg_out_{ld,st} for vector regs (2024-05-15 08:57:39 +0200)
> 
> ----------------------------------------------------------------
> tcg/loongarch64: Fill out tcg_out_{ld,st} for vector regs
> accel/tcg: Improve disassembly for target and plugin

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.


r~