All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/15] tcg field extract primitives
@ 2016-10-16  3:37 Richard Henderson
  2016-10-16  3:37 ` [Qemu-devel] [PATCH 01/15] tcg: Add field extraction primitives Richard Henderson
                   ` (15 more replies)
  0 siblings, 16 replies; 25+ messages in thread
From: Richard Henderson @ 2016-10-16  3:37 UTC (permalink / raw)
  To: qemu-devel

I was fooling around with a new target last weekend, and got myself
all turned around with its field extract instruction.  How much more
handy would it be, I told myself, if we had such a thing generically?

In addition, many hosts have this natively.  So it seems a shame to
not take advantage of it when we can.

Lightly tested on x86_64, ppc64le, arm32, and s390x hosts.


r~


Richard Henderson (15):
  tcg: Add field extraction primitives
  tcg: Minor adjustments to deposit expanders
  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: Implement field extraction opcodes
  target-alpha: Use deposit and extract ops
  target-arm: Use tcg_gen_*extract
  target-i386: Use tcg_gen_extract_tl
  target-mips: Use tcg_gen_extract_*
  target-ppc: Use tcg_gen_extract_*
  target-s390: Use tcg_gen_extract_i64

 target-alpha/translate.c     |  67 +++++----
 target-arm/translate-a64.c   |  48 ++++---
 target-arm/translate.c       |  37 ++---
 target-i386/translate.c      |  45 +++---
 target-mips/translate.c      |  12 +-
 target-ppc/translate.c       |   9 +-
 target-s390x/translate.c     |  24 ++--
 tcg/aarch64/tcg-target.h     |   4 +
 tcg/aarch64/tcg-target.inc.c |  14 ++
 tcg/arm/tcg-target.h         |  38 +++++-
 tcg/arm/tcg-target.inc.c     |  63 ++++-----
 tcg/i386/tcg-target.h        |   7 +
 tcg/i386/tcg-target.inc.c    |  30 ++++
 tcg/ia64/tcg-target.h        |   4 +
 tcg/mips/tcg-target.h        |   2 +
 tcg/mips/tcg-target.inc.c    |   4 +
 tcg/optimize.c               |  29 ++++
 tcg/ppc/tcg-target.h         |   4 +
 tcg/ppc/tcg-target.inc.c     |  10 ++
 tcg/s390/tcg-target.h        |  12 +-
 tcg/s390/tcg-target.inc.c    |  13 +-
 tcg/sparc/tcg-target.h       |   4 +
 tcg/tcg-op.c                 | 319 ++++++++++++++++++++++++++++++++++++++++++-
 tcg/tcg-op.h                 |  12 ++
 tcg/tcg-opc.h                |   4 +
 tcg/tcg.h                    |   8 ++
 tcg/tci/tcg-target.h         |   4 +
 27 files changed, 655 insertions(+), 172 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2016-10-27  4:24 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-16  3:37 [Qemu-devel] [PATCH 00/15] tcg field extract primitives Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 01/15] tcg: Add field extraction primitives Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 02/15] tcg: Minor adjustments to deposit expanders Richard Henderson
2016-10-17 15:23   ` Claudio Fontana
2016-10-16  3:37 ` [Qemu-devel] [PATCH 03/15] tcg/aarch64: Implement field extraction opcodes Richard Henderson
2016-10-17 15:22   ` Claudio Fontana
2016-10-16  3:37 ` [Qemu-devel] [PATCH 04/15] tcg/arm: Move isa detection to tcg-target.h Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 05/15] tcg/arm: Implement field extraction opcodes Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 06/15] tcg/i386: " Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 07/15] tcg/mips: " Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 08/15] tcg/ppc: " Richard Henderson
2016-10-26  1:48   ` David Gibson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 09/15] tcg/s390: " Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 10/15] target-alpha: Use deposit and extract ops Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 11/15] target-arm: Use tcg_gen_*extract Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 12/15] target-i386: Use tcg_gen_extract_tl Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 13/15] target-mips: Use tcg_gen_extract_* Richard Henderson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 14/15] target-ppc: " Richard Henderson
2016-10-17  3:38   ` [Qemu-devel] [Qemu-ppc] " David Gibson
2016-10-17  4:35     ` David Gibson
2016-10-26  2:59   ` David Gibson
2016-10-26 15:38     ` Richard Henderson
2016-10-27  2:10       ` David Gibson
2016-10-16  3:37 ` [Qemu-devel] [PATCH 15/15] target-s390: Use tcg_gen_extract_i64 Richard Henderson
2016-10-16  4:09 ` [Qemu-devel] [PATCH 00/15] tcg field extract primitives no-reply

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.