[PULL 00/21] target/sparc: Cleanup condition codes

Richard Henderson posted 21 patches 1 year ago
Failed in applying to current master (apply log)
Maintainers: Laurent Vivier <laurent@vivier.eu>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>
linux-user/sparc/target_cpu.h |   17 +-
target/sparc/cpu.h            |   58 +-
target/sparc/helper.h         |   12 +-
target/sparc/insns.decode     |    7 +-
linux-user/sparc/cpu_loop.c   |   11 +-
linux-user/sparc/signal.c     |    2 +-
target/sparc/cc_helper.c      |  471 ---------------
target/sparc/cpu.c            |    1 -
target/sparc/helper.c         |  171 +++---
target/sparc/int32_helper.c   |    5 -
target/sparc/int64_helper.c   |    5 -
target/sparc/machine.c        |   45 +-
target/sparc/translate.c      | 1333 ++++++++++++++++++-----------------------
target/sparc/win_helper.c     |   56 +-
target/sparc/meson.build      |    1 -
15 files changed, 789 insertions(+), 1406 deletions(-)
delete mode 100644 target/sparc/cc_helper.c
[PULL 00/21] target/sparc: Cleanup condition codes
Posted by Richard Henderson 1 year ago
The following changes since commit d762bf97931b58839316b68a570eecc6143c9e3e:

  Merge tag 'pull-target-arm-20231102' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2023-11-03 10:04:12 +0800)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-sp-20231105

for you to fetch changes up to 2c4f56c9aa7e1e8a34428c4efe17788be11fb73f:

  target/sparc: Check for invalid cond in gen_compare_reg (2023-11-05 12:07:21 -0800)

----------------------------------------------------------------
target/sparc: Explicitly compute condition codes

----------------------------------------------------------------
Richard Henderson (21):
      target/sparc: Introduce cpu_put_psr_icc
      target/sparc: Split psr and xcc into components
      target/sparc: Remove CC_OP_LOGIC
      target/sparc: Remove CC_OP_DIV
      target/sparc: Remove CC_OP_ADD, CC_OP_ADDX, CC_OP_TADD
      target/sparc: Remove CC_OP_SUB, CC_OP_SUBX, CC_OP_TSUB
      target/sparc: Remove CC_OP_TADDTV, CC_OP_TSUBTV
      target/sparc: Remove CC_OP leftovers
      target/sparc: Remove DisasCompare.is_bool
      target/sparc: Change DisasCompare.c2 to int
      target/sparc: Always copy conditions into a new temporary
      target/sparc: Do flush_cond in advance_jump_cond
      target/sparc: Merge gen_branch2 into advance_pc
      target/sparc: Merge advance_jump_uncond_{never,always} into advance_jump_cond
      target/sparc: Pass displacement to advance_jump_cond
      target/sparc: Merge gen_op_next_insn into only caller
      target/sparc: Record entire jump condition in DisasContext
      target/sparc: Discard cpu_cond at the end of each insn
      target/sparc: Implement UDIVX and SDIVX inline
      target/sparc: Implement UDIV inline
      target/sparc: Check for invalid cond in gen_compare_reg

 linux-user/sparc/target_cpu.h |   17 +-
 target/sparc/cpu.h            |   58 +-
 target/sparc/helper.h         |   12 +-
 target/sparc/insns.decode     |    7 +-
 linux-user/sparc/cpu_loop.c   |   11 +-
 linux-user/sparc/signal.c     |    2 +-
 target/sparc/cc_helper.c      |  471 ---------------
 target/sparc/cpu.c            |    1 -
 target/sparc/helper.c         |  171 +++---
 target/sparc/int32_helper.c   |    5 -
 target/sparc/int64_helper.c   |    5 -
 target/sparc/machine.c        |   45 +-
 target/sparc/translate.c      | 1333 ++++++++++++++++++-----------------------
 target/sparc/win_helper.c     |   56 +-
 target/sparc/meson.build      |    1 -
 15 files changed, 789 insertions(+), 1406 deletions(-)
 delete mode 100644 target/sparc/cc_helper.c
Re: [PULL 00/21] target/sparc: Cleanup condition codes
Posted by Stefan Hajnoczi 1 year ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.