All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] tcg: Add revbit opcodes
@ 2026-07-31  0:04 Richard Henderson
  2026-07-31  0:04 ` [PATCH 01/11] tcg: Fix opcode dump for bswap Richard Henderson
                   ` (11 more replies)
  0 siblings, 12 replies; 41+ messages in thread
From: Richard Henderson @ 2026-07-31  0:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: anjo, qemu-arm, git, 17746591750, maobibo, lixianglai, philmd

Adding these have been at the back of my mind for a while.  Most recently
tickled by the Octeon additions, and Anton's helper-to-tcg work.

I didn't add a 16-bit function or opcode because no host implements it.
The 16-bit reverse that the hexagon target does can be implemented with
a 32-bit reverse plus a shift.


r~


Richard Henderson (11):
  tcg: Fix opcode dump for bswap
  tcg: Add tcg_gen_revbit{32,64}
  target/arm: Use generic tcg_gen_revbit*
  target/loongarch: Use generic tcg_gen_revbit*
  target/loongarch: Expand bitswap inline
  target/mips: Expand octeon reflections inline
  tcg: Add revbit{32,64} opcodes
  tcg/optimize: Handle revbit{32,64}
  tcg/aarch64: Implement revbit{32,64}
  tcg/loongarch64: Import REVBIT insns
  tcg/loongarch64: Implement revbit{32,64}

 include/tcg/tcg-op-common.h                   |   3 +
 include/tcg/tcg-op.h                          |   5 +
 include/tcg/tcg-opc.h                         |   2 +
 target/arm/tcg/helper-a64-defs.h              |   1 -
 target/arm/tcg/helper-defs.h                  |   1 -
 target/loongarch/tcg/helper.h                 |   4 -
 target/mips/helper.h                          |   7 -
 target/arm/tcg/helper-a64.c                   |   5 -
 target/arm/tcg/op_helper.c                    |   5 -
 target/arm/tcg/translate-a64.c                |   4 +-
 target/arm/tcg/translate.c                    |   2 +-
 target/loongarch/tcg/op_helper.c              |  21 -
 target/mips/tcg/octeon_crypto.c               |  35 -
 target/mips/tcg/octeon_translate.c            |  49 +-
 tcg/optimize.c                                |  48 +-
 tcg/tcg-op.c                                  |  78 ++
 tcg/tcg.c                                     |   8 +-
 docs/devel/tcg-ops.rst                        |  11 +
 .../loongarch/tcg/insn_trans/trans_bit.c.inc  |  29 +-
 tcg/aarch64/tcg-target.c.inc                  |  24 +
 tcg/loongarch64/tcg-insn-defs.c.inc           | 944 +++++++++---------
 tcg/loongarch64/tcg-target.c.inc              |  26 +
 tcg/ppc64/tcg-target.c.inc                    |   8 +
 tcg/riscv64/tcg-target.c.inc                  |   8 +
 tcg/s390x/tcg-target.c.inc                    |   8 +
 tcg/sparc64/tcg-target.c.inc                  |   8 +
 tcg/tci/tcg-target.c.inc                      |   8 +
 tcg/x86_64/tcg-target.c.inc                   |   8 +
 28 files changed, 787 insertions(+), 573 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2026-08-10 12:11 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-31  0:04 [PATCH 00/11] tcg: Add revbit opcodes Richard Henderson
2026-07-31  0:04 ` [PATCH 01/11] tcg: Fix opcode dump for bswap Richard Henderson
2026-08-03 15:08   ` Philippe Mathieu-Daudé
2026-07-31  0:04 ` [PATCH 02/11] tcg: Add tcg_gen_revbit{32,64} Richard Henderson
2026-07-31  6:08   ` Philippe Mathieu-Daudé
2026-07-31  6:41     ` Philippe Mathieu-Daudé
2026-07-31  8:55       ` Philippe Mathieu-Daudé
2026-07-31  6:49   ` Philippe Mathieu-Daudé
2026-07-31 14:29     ` Richard Henderson
2026-08-10 11:15   ` Anton Johansson via
2026-08-10 11:15     ` Anton Johansson via qemu development
2026-07-31  0:04 ` [PATCH 03/11] target/arm: Use generic tcg_gen_revbit* Richard Henderson
2026-07-31  6:08   ` Philippe Mathieu-Daudé
2026-07-31  0:04 ` [PATCH 04/11] target/loongarch: " Richard Henderson
2026-07-31  6:10   ` Philippe Mathieu-Daudé
2026-08-05  9:16   ` Song Gao
2026-07-31  0:04 ` [PATCH 05/11] target/loongarch: Expand bitswap inline Richard Henderson
2026-08-05  9:17   ` Song Gao
2026-07-31  0:04 ` [PATCH 06/11] target/mips: Expand octeon reflections inline Richard Henderson
2026-08-10 11:29   ` Anton Johansson via
2026-08-10 11:29     ` Anton Johansson via qemu development
2026-07-31  0:04 ` [PATCH 07/11] tcg: Add revbit{32,64} opcodes Richard Henderson
2026-07-31  7:02   ` Philippe Mathieu-Daudé
2026-08-10 12:15   ` Anton Johansson via qemu development
2026-08-10 12:15     ` Anton Johansson via
2026-07-31  0:05 ` [PATCH 08/11] tcg/optimize: Handle revbit{32,64} Richard Henderson
2026-08-03 14:58   ` Philippe Mathieu-Daudé
2026-08-10 10:44   ` Anton Johansson via
2026-08-10 10:44     ` Anton Johansson via qemu development
2026-07-31  0:05 ` [PATCH 09/11] tcg/aarch64: Implement revbit{32,64} Richard Henderson
2026-07-31  7:12   ` Philippe Mathieu-Daudé
2026-07-31  0:05 ` [PATCH 10/11] tcg/loongarch64: Import REVBIT insns Richard Henderson
2026-08-03 15:06   ` Philippe Mathieu-Daudé
2026-08-03 17:26     ` Richard Henderson
2026-08-04  2:51       ` Philippe Mathieu-Daudé
2026-07-31  0:05 ` [PATCH 11/11] tcg/loongarch64: Implement revbit{32,64} Richard Henderson
2026-08-03 14:59   ` Philippe Mathieu-Daudé
2026-08-10 12:15   ` Anton Johansson via qemu development
2026-08-10 12:15     ` Anton Johansson via
2026-08-10 10:46 ` [PATCH 00/11] tcg: Add revbit opcodes Anton Johansson via qemu development
2026-08-10 10:46   ` Anton Johansson via

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.