qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PULL 00/65] tcg 2.9 patch queue


From: Richard Henderson
Subject: [Qemu-devel] [PULL 00/65] tcg 2.9 patch queue
Date: Tue, 10 Jan 2017 18:17:15 -0800

There are minimal changes since v5, mostly to handle conflicts
with the tcg mips64 patch set merged a few days ago.

Thanks to Alex for reviewing the arm bits; and to Mark, Bastian,
David, and Yongbok for reviews of their respective cpus.


r~


The following changes since commit 41a0e54756a9ae6b60be34bb33302a7e085fdb07:

  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging 
(2017-01-10 10:46:21 +0000)

are available in the git repository at:

  git://github.com/rth7680/qemu.git tags/pull-tcg-20170110

for you to fetch changes up to 993508e43e6d180e9ba9b747a9657eac69aec5bb:

  tcg/i386: Handle ctpop opcode (2017-01-10 08:49:59 -0800)

----------------------------------------------------------------
TCG opcodes for extract, clz, ctz, ctpop

----------------------------------------------------------------
Alex Bennée (1):
      tests: New test-bitcnt

Richard Henderson (64):
      tcg: Add field extraction primitives
      tcg: Minor adjustments to deposit expanders
      tcg: Add deposit_z expander
      tcg/aarch64: Implement field extraction opcodes
      tcg/arm: Move isa detection to tcg-target.h
      tcg/arm: Implement field extraction opcodes
      tcg/i386: Implement field extraction opcodes
      tcg/mips: Implement field extraction opcodes
      tcg/ppc: Implement field extraction opcodes
      tcg/s390: Expose host facilities to tcg-target.h
      tcg/s390: Implement field extraction opcodes
      tcg/s390: Support deposit into zero
      target-alpha: Use deposit and extract ops
      target-arm: Use new deposit and extract ops
      target-i386: Use new deposit and extract ops
      target-mips: Use the new extract op
      target-ppc: Use the new deposit and extract ops
      target-s390x: Use the new deposit and extract ops
      tcg/optimize: Fold movcond 0/1 into setcond
      tcg: Add markup for output requires new register
      tcg: Transition flat op_defs array to a target callback
      tcg: Pass the opcode width to target_parse_constraint
      tcg: Allow an operand to be matching or a constant
      tcg: Add clz and ctz opcodes
      disas/i386.c: Handle tzcnt
      disas/ppc: Handle popcnt and cnttz
      target-alpha: Use the ctz and clz opcodes
      target-cris: Use clz opcode
      target-microblaze: Use clz opcode
      target-mips: Use clz opcode
      target-openrisc: Use clz and ctz opcodes
      target-ppc: Use clz and ctz opcodes
      target-s390x: Use clz opcode
      target-tilegx: Use clz and ctz opcodes
      target-tricore: Use clz opcode
      target-unicore32: Use clz opcode
      target-xtensa: Use clz opcode
      target-arm: Use clz opcode
      target-i386: Use clz and ctz opcodes
      tcg/ppc: Handle ctz and clz opcodes
      tcg/aarch64: Handle ctz and clz opcodes
      tcg/arm: Handle ctz and clz opcodes
      tcg/mips: Handle clz opcode
      tcg/s390: Handle clz opcode
      tcg/i386: Fuly convert tcg_target_op_def
      tcg/i386: Hoist common arguments in tcg_out_op
      tcg/i386: Allow bmi2 shiftx to have non-matching operands
      tcg/i386: Handle ctz and clz opcodes
      tcg/i386: Rely on undefined/undocumented behaviour of BSF/BSR
      tcg: Add helpers for clrsb
      target-arm: Use clrsb helper
      target-tricore: Use clrsb helper
      target-xtensa: Use clrsb helper
      tcg: Add opcode for ctpop
      target-alpha: Use ctpop helper
      target-ppc: Use ctpop helper
      target-s390x: Avoid a loop for popcnt
      target-sparc: Use ctpop helper
      target-tilegx: Use ctpop helper
      target-i386: Use ctpop helper
      qemu/host-utils.h: Reduce the operation count in the fallback ctpop
      tcg: Use ctpop to generate ctz if needed
      tcg/ppc: Handle ctpop opcode
      tcg/i386: Handle ctpop opcode

 disas/i386.c                  |  12 +-
 disas/ppc.c                   |  10 +
 include/qemu/host-utils.h     |  25 +-
 target/alpha/helper.h         |   4 -
 target/alpha/int_helper.c     |  15 -
 target/alpha/translate.c      |  73 +++--
 target/arm/helper-a64.c       |  20 --
 target/arm/helper-a64.h       |   4 -
 target/arm/helper.c           |   5 -
 target/arm/helper.h           |   1 -
 target/arm/translate-a64.c    |  97 +++---
 target/arm/translate.c        |  43 +--
 target/cris/helper.h          |   1 -
 target/cris/op_helper.c       |   5 -
 target/cris/translate.c       |   2 +-
 target/i386/cc_helper.c       |   3 +
 target/i386/cpu.h             |   1 +
 target/i386/helper.h          |   2 -
 target/i386/int_helper.c      |  11 -
 target/i386/ops_sse.h         |  26 --
 target/i386/ops_sse_header.h  |   1 -
 target/i386/translate.c       |  89 ++---
 target/microblaze/helper.h    |   1 -
 target/microblaze/op_helper.c |   5 -
 target/microblaze/translate.c |   2 +-
 target/mips/helper.h          |   7 -
 target/mips/op_helper.c       |  22 --
 target/mips/translate.c       |  35 +-
 target/openrisc/helper.h      |   2 -
 target/openrisc/int_helper.c  |  19 --
 target/openrisc/translate.c   |   6 +-
 target/ppc/helper.h           |   7 +-
 target/ppc/int_helper.c       |  38 +--
 target/ppc/translate.c        |  61 ++--
 target/s390x/helper.h         |   1 -
 target/s390x/int_helper.c     |  21 +-
 target/s390x/translate.c      |  36 ++-
 target/sparc/helper.c         |   5 -
 target/sparc/helper.h         |   1 -
 target/sparc/translate.c      |   2 +-
 target/tilegx/helper.c        |  15 -
 target/tilegx/helper.h        |   3 -
 target/tilegx/translate.c     |   6 +-
 target/tricore/helper.h       |   3 -
 target/tricore/op_helper.c    |  15 -
 target/tricore/translate.c    |   7 +-
 target/unicore32/helper.c     |  10 -
 target/unicore32/helper.h     |   3 -
 target/unicore32/translate.c  |   6 +-
 target/xtensa/helper.h        |   2 -
 target/xtensa/op_helper.c     |  13 -
 target/xtensa/translate.c     |   4 +-
 tcg-runtime.c                 |  40 +++
 tcg/README                    |  41 ++-
 tcg/aarch64/tcg-target.h      |  10 +
 tcg/aarch64/tcg-target.inc.c  |  91 +++++-
 tcg/arm/tcg-target.h          |  41 ++-
 tcg/arm/tcg-target.inc.c      | 121 ++++---
 tcg/i386/tcg-target.h         |  17 +
 tcg/i386/tcg-target.inc.c     | 732 +++++++++++++++++++++++++++---------------
 tcg/ia64/tcg-target.h         |  10 +
 tcg/ia64/tcg-target.inc.c     |  28 +-
 tcg/mips/tcg-target.h         |  10 +
 tcg/mips/tcg-target.inc.c     |  84 ++++-
 tcg/optimize.c                |  94 ++++++
 tcg/ppc/tcg-target.h          |  13 +
 tcg/ppc/tcg-target.inc.c      | 117 ++++++-
 tcg/s390/tcg-target.h         | 128 ++++----
 tcg/s390/tcg-target.inc.c     | 173 ++++++----
 tcg/sparc/tcg-target.h        |  10 +
 tcg/sparc/tcg-target.inc.c    |  28 +-
 tcg/tcg-op.c                  | 692 ++++++++++++++++++++++++++++++++++++++-
 tcg/tcg-op.h                  |  42 +++
 tcg/tcg-opc.h                 |  10 +
 tcg/tcg-runtime.h             |   9 +
 tcg/tcg.c                     | 173 +++++-----
 tcg/tcg.h                     |  14 +-
 tcg/tci/tcg-target.h          |  10 +
 tcg/tci/tcg-target.inc.c      |  25 +-
 tests/.gitignore              |   1 +
 tests/Makefile.include        |   2 +
 tests/test-bitcnt.c           | 140 ++++++++
 82 files changed, 2603 insertions(+), 1111 deletions(-)
 create mode 100644 tests/test-bitcnt.c



reply via email to

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