[PATCH v4 00/43] tcg patch queue

Richard Henderson posted 43 patches 2 years, 7 months ago
Only 0 patches received!
There is a newer version of this series
include/exec/translate-all.h              |   1 +
include/exec/translator.h                 |  44 +--
include/hw/core/tcg-cpu-ops.h             |  26 +-
include/tcg/tcg-op.h                      |   2 -
target/alpha/cpu.h                        |   2 +-
target/arm/arm_ldst.h                     |  12 +-
target/arm/cpu.h                          |   3 +-
target/cris/cpu.h                         |   2 +-
target/hppa/cpu.h                         |   4 +-
target/i386/cpu.h                         |   3 +
target/i386/tcg/helper-tcg.h              |   2 +
target/m68k/cpu.h                         |   2 +
target/microblaze/cpu.h                   |   2 +
target/mips/tcg/tcg-internal.h            |   5 +-
target/openrisc/cpu.h                     |   5 +-
target/ppc/cpu.h                          |   4 +-
target/riscv/cpu.h                        |   2 +-
target/rx/cpu.h                           |   2 +
target/sh4/cpu.h                          |   4 +-
target/xtensa/cpu.h                       |   2 +
tcg/arm/tcg-target.h                      |  27 +-
accel/tcg/cpu-exec.c                      |  14 +-
accel/tcg/tcg-accel-ops-rr.c              |   2 -
accel/tcg/translate-all.c                 |  59 ++--
accel/tcg/translator.c                    |  39 +++
accel/tcg/user-exec.c                     |  48 ++-
bsd-user/i386/target_arch_cpu.c           |   5 -
bsd-user/x86_64/target_arch_cpu.c         |   5 -
linux-user/main.c                         |   7 -
target/alpha/cpu.c                        |   2 +-
target/alpha/helper.c                     |   5 +-
target/alpha/translate.c                  |   2 +-
target/arm/cpu.c                          |   7 +-
target/arm/cpu_tcg.c                      |   6 +-
target/arm/translate-a64.c                |   2 +-
target/arm/translate.c                    |   9 +-
target/avr/cpu.c                          |   3 -
target/cris/cpu.c                         |   4 +-
target/cris/helper.c                      |  17 +-
target/hexagon/translate.c                |   3 +-
target/hppa/cpu.c                         |   2 +-
target/hppa/int_helper.c                  |   7 +-
target/hppa/translate.c                   |   5 +-
target/i386/tcg/seg_helper.c              |  74 +----
target/i386/tcg/sysemu/seg_helper.c       |  62 ++++
target/i386/tcg/tcg-cpu.c                 |   8 +-
target/i386/tcg/translate.c               |  10 +-
target/m68k/cpu.c                         |   2 +-
target/m68k/op_helper.c                   |  16 +-
target/m68k/translate.c                   |   2 +-
target/microblaze/cpu.c                   |   2 +-
target/microblaze/helper.c                |  13 +-
target/mips/cpu.c                         |   2 +-
target/mips/tcg/exception.c               |  18 --
target/mips/tcg/sysemu/tlb_helper.c       |  18 ++
target/mips/tcg/translate.c               |   8 +-
target/mips/tcg/user/tlb_helper.c         |   5 -
target/nios2/cpu.c                        |   5 +-
target/openrisc/cpu.c                     |   2 +-
target/openrisc/interrupt.c               |   2 -
target/openrisc/translate.c               |   2 +-
target/ppc/cpu_init.c                     |   2 +-
target/ppc/excp_helper.c                  |  21 +-
target/ppc/translate.c                    |   5 +-
target/riscv/cpu.c                        |   2 +-
target/riscv/cpu_helper.c                 |   5 -
target/riscv/translate.c                  |   5 +-
target/rx/cpu.c                           |   2 +-
target/rx/helper.c                        |   4 +
target/s390x/tcg/translate.c              |  16 +-
target/sh4/cpu.c                          |   2 +-
target/sh4/helper.c                       |   9 +-
target/sh4/translate.c                    |   4 +-
target/sparc/cpu.c                        |   4 +-
target/sparc/translate.c                  |   2 +-
target/xtensa/cpu.c                       |   2 +-
target/xtensa/exc_helper.c                |   7 +-
target/xtensa/translate.c                 |   5 +-
target/mips/tcg/micromips_translate.c.inc |   2 +-
target/mips/tcg/mips16e_translate.c.inc   |   4 +-
target/mips/tcg/nanomips_translate.c.inc  |   4 +-
tcg/arm/tcg-target.c.inc                  | 517 ++++++++++++++++--------------
tcg/i386/tcg-target.c.inc                 |  13 +-
tcg/ppc/tcg-target.c.inc                  |  25 +-
target/openrisc/meson.build               |   6 +-
85 files changed, 700 insertions(+), 628 deletions(-)
[PATCH v4 00/43] tcg patch queue
Posted by Richard Henderson 2 years, 7 months ago
Version 4: Drop the cpu_loop noreturn patch.


r~


The following changes since commit 4c9af1ea1457782cf0adb293179335ef6de942aa:

  gitlab-ci: Make more custom runner jobs manual, and don't allow failure (2021-09-14 17:03:03 +0100)

are available in the Git repository at:

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

for you to fetch changes up to e028eada62dbfcba134ac5afdefc3aa343ae202f:

  tcg/arm: More use of the TCGReg enum (2021-09-14 12:00:21 -0700)

----------------------------------------------------------------
Fix translation race condition for user-only.
Fix tcg/i386 encoding for VPSLLVQ, VPSRLVQ.
Fix tcg/arm tcg_out_vec_op signature.
Fix tcg/ppc (32bit) build with clang.
Remove dupluate TCG_KICK_PERIOD definition.
Remove unused tcg_global_reg_new.
Restrict cpu_exec_interrupt and its callees to sysemu.
Cleanups for tcg/arm.

----------------------------------------------------------------
Bin Meng (1):
      tcg: Remove tcg_global_reg_new defines

Ilya Leoshkevich (3):
      accel/tcg: Add DisasContextBase argument to translator_ld*
      accel/tcg: Clear PAGE_WRITE before translation
      accel/tcg/user-exec: Fix read-modify-write of code on s390 hosts

Jose R. Ziviani (1):
      tcg/arm: Fix tcg_out_vec_op function signature

Luc Michel (1):
      accel/tcg: remove redundant TCG_KICK_PERIOD define

Philippe Mathieu-Daudé (24):
      target/avr: Remove pointless use of CONFIG_USER_ONLY definition
      target/i386: Restrict sysemu-only fpu_helper helpers
      target/i386: Simplify TARGET_X86_64 #ifdef'ry
      target/xtensa: Restrict do_transaction_failed() to sysemu
      accel/tcg: Rename user-mode do_interrupt hack as fake_user_interrupt
      target/alpha: Restrict cpu_exec_interrupt() handler to sysemu
      target/arm: Restrict cpu_exec_interrupt() handler to sysemu
      target/cris: Restrict cpu_exec_interrupt() handler to sysemu
      target/hppa: Restrict cpu_exec_interrupt() handler to sysemu
      target/i386: Restrict cpu_exec_interrupt() handler to sysemu
      target/i386: Move x86_cpu_exec_interrupt() under sysemu/ folder
      target/m68k: Restrict cpu_exec_interrupt() handler to sysemu
      target/microblaze: Restrict cpu_exec_interrupt() handler to sysemu
      target/mips: Restrict cpu_exec_interrupt() handler to sysemu
      target/nios2: Restrict cpu_exec_interrupt() handler to sysemu
      target/openrisc: Restrict cpu_exec_interrupt() handler to sysemu
      target/ppc: Restrict cpu_exec_interrupt() handler to sysemu
      target/riscv: Restrict cpu_exec_interrupt() handler to sysemu
      target/sh4: Restrict cpu_exec_interrupt() handler to sysemu
      target/sparc: Restrict cpu_exec_interrupt() handler to sysemu
      target/rx: Restrict cpu_exec_interrupt() handler to sysemu
      target/xtensa: Restrict cpu_exec_interrupt() handler to sysemu
      accel/tcg: Restrict TCGCPUOps::cpu_exec_interrupt() to sysemu
      user: Remove cpu_get_pic_interrupt() stubs

Richard Henderson (13):
      tcg/i386: Split P_VEXW from P_REXW
      tcg/ppc: Replace TCG_TARGET_CALL_DARWIN with _CALL_DARWIN
      tcg/ppc: Ensure _CALL_SYSV is set for 32-bit ELF
      tcg/arm: Remove fallback definition of __ARM_ARCH
      tcg/arm: Standardize on tcg_out_<branch>_{reg,imm}
      tcg/arm: Simplify use_armv5t_instructions
      tcg/arm: Support armv4t in tcg_out_goto and tcg_out_call
      tcg/arm: Split out tcg_out_ldstm
      tcg/arm: Simplify usage of encode_imm
      tcg/arm: Drop inline markers
      tcg/arm: Give enum arm_cond_code_e a typedef and use it
      tcg/arm: More use of the ARMInsn enum
      tcg/arm: More use of the TCGReg enum

 include/exec/translate-all.h              |   1 +
 include/exec/translator.h                 |  44 +--
 include/hw/core/tcg-cpu-ops.h             |  26 +-
 include/tcg/tcg-op.h                      |   2 -
 target/alpha/cpu.h                        |   2 +-
 target/arm/arm_ldst.h                     |  12 +-
 target/arm/cpu.h                          |   3 +-
 target/cris/cpu.h                         |   2 +-
 target/hppa/cpu.h                         |   4 +-
 target/i386/cpu.h                         |   3 +
 target/i386/tcg/helper-tcg.h              |   2 +
 target/m68k/cpu.h                         |   2 +
 target/microblaze/cpu.h                   |   2 +
 target/mips/tcg/tcg-internal.h            |   5 +-
 target/openrisc/cpu.h                     |   5 +-
 target/ppc/cpu.h                          |   4 +-
 target/riscv/cpu.h                        |   2 +-
 target/rx/cpu.h                           |   2 +
 target/sh4/cpu.h                          |   4 +-
 target/xtensa/cpu.h                       |   2 +
 tcg/arm/tcg-target.h                      |  27 +-
 accel/tcg/cpu-exec.c                      |  14 +-
 accel/tcg/tcg-accel-ops-rr.c              |   2 -
 accel/tcg/translate-all.c                 |  59 ++--
 accel/tcg/translator.c                    |  39 +++
 accel/tcg/user-exec.c                     |  48 ++-
 bsd-user/i386/target_arch_cpu.c           |   5 -
 bsd-user/x86_64/target_arch_cpu.c         |   5 -
 linux-user/main.c                         |   7 -
 target/alpha/cpu.c                        |   2 +-
 target/alpha/helper.c                     |   5 +-
 target/alpha/translate.c                  |   2 +-
 target/arm/cpu.c                          |   7 +-
 target/arm/cpu_tcg.c                      |   6 +-
 target/arm/translate-a64.c                |   2 +-
 target/arm/translate.c                    |   9 +-
 target/avr/cpu.c                          |   3 -
 target/cris/cpu.c                         |   4 +-
 target/cris/helper.c                      |  17 +-
 target/hexagon/translate.c                |   3 +-
 target/hppa/cpu.c                         |   2 +-
 target/hppa/int_helper.c                  |   7 +-
 target/hppa/translate.c                   |   5 +-
 target/i386/tcg/seg_helper.c              |  74 +----
 target/i386/tcg/sysemu/seg_helper.c       |  62 ++++
 target/i386/tcg/tcg-cpu.c                 |   8 +-
 target/i386/tcg/translate.c               |  10 +-
 target/m68k/cpu.c                         |   2 +-
 target/m68k/op_helper.c                   |  16 +-
 target/m68k/translate.c                   |   2 +-
 target/microblaze/cpu.c                   |   2 +-
 target/microblaze/helper.c                |  13 +-
 target/mips/cpu.c                         |   2 +-
 target/mips/tcg/exception.c               |  18 --
 target/mips/tcg/sysemu/tlb_helper.c       |  18 ++
 target/mips/tcg/translate.c               |   8 +-
 target/mips/tcg/user/tlb_helper.c         |   5 -
 target/nios2/cpu.c                        |   5 +-
 target/openrisc/cpu.c                     |   2 +-
 target/openrisc/interrupt.c               |   2 -
 target/openrisc/translate.c               |   2 +-
 target/ppc/cpu_init.c                     |   2 +-
 target/ppc/excp_helper.c                  |  21 +-
 target/ppc/translate.c                    |   5 +-
 target/riscv/cpu.c                        |   2 +-
 target/riscv/cpu_helper.c                 |   5 -
 target/riscv/translate.c                  |   5 +-
 target/rx/cpu.c                           |   2 +-
 target/rx/helper.c                        |   4 +
 target/s390x/tcg/translate.c              |  16 +-
 target/sh4/cpu.c                          |   2 +-
 target/sh4/helper.c                       |   9 +-
 target/sh4/translate.c                    |   4 +-
 target/sparc/cpu.c                        |   4 +-
 target/sparc/translate.c                  |   2 +-
 target/xtensa/cpu.c                       |   2 +-
 target/xtensa/exc_helper.c                |   7 +-
 target/xtensa/translate.c                 |   5 +-
 target/mips/tcg/micromips_translate.c.inc |   2 +-
 target/mips/tcg/mips16e_translate.c.inc   |   4 +-
 target/mips/tcg/nanomips_translate.c.inc  |   4 +-
 tcg/arm/tcg-target.c.inc                  | 517 ++++++++++++++++--------------
 tcg/i386/tcg-target.c.inc                 |  13 +-
 tcg/ppc/tcg-target.c.inc                  |  25 +-
 target/openrisc/meson.build               |   6 +-
 85 files changed, 700 insertions(+), 628 deletions(-)