All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] tcg: Add min/max opcodes
@ 2026-08-12  0:31 Richard Henderson
  2026-08-12  0:31 ` [PATCH 1/7] tcg: Add integer " Richard Henderson
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Richard Henderson @ 2026-08-12  0:31 UTC (permalink / raw)
  To: qemu-devel

Since two hosts now have (optional) support for min/max,
I thought it might be worth implementing natively.

While I was there, use some more of the FEAT_CSSC extension.


r~


Richard Henderson (7):
  tcg: Add integer min/max opcodes
  tcg/optimize: Handle min/max opcodes
  util/cpuinfo-aarch64: Detect FEAT_CSSC
  tcg/aarch64: Implement min/max with FEAT_CSSC
  target/riscv64: Implement min/max with Zbb
  tcg/aarch64: Implement ctpop with FEAT_CSSC
  tcg/aarch64: Use CTZ from FEAT_CSSC

 host/include/aarch64/host/cpuinfo.h |   1 +
 include/tcg/tcg-opc.h               |   4 +
 tcg/aarch64/tcg-target-con-set.h    |   2 +
 tcg/aarch64/tcg-target-con-str.h    |   2 +
 tcg/optimize.c                      |  52 +++++++++
 tcg/tcg-op.c                        |  48 ++++++--
 tcg/tcg.c                           |   4 +
 util/cpuinfo-aarch64.c              |  13 ++-
 docs/devel/tcg-ops.rst              |  14 ++-
 tcg/aarch64/tcg-target.c.inc        | 169 ++++++++++++++++++++++++++--
 tcg/loongarch64/tcg-target.c.inc    |  16 +++
 tcg/ppc64/tcg-target.c.inc          |  16 +++
 tcg/riscv64/tcg-target.c.inc        |  52 +++++++++
 tcg/s390x/tcg-target.c.inc          |  16 +++
 tcg/sparc64/tcg-target.c.inc        |  16 +++
 tcg/tci/tcg-target.c.inc            |  16 +++
 tcg/x86_64/tcg-target.c.inc         |  16 +++
 17 files changed, 435 insertions(+), 22 deletions(-)

-- 
2.43.0



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

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

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12  0:31 [PATCH 0/7] tcg: Add min/max opcodes Richard Henderson
2026-08-12  0:31 ` [PATCH 1/7] tcg: Add integer " Richard Henderson
2026-08-12  8:42   ` Alex Bennée
2026-08-12  0:31 ` [PATCH 2/7] tcg/optimize: Handle " Richard Henderson
2026-08-12  7:17   ` Philippe Mathieu-Daudé
2026-08-12  8:46   ` Alex Bennée
2026-08-12  0:31 ` [PATCH 3/7] util/cpuinfo-aarch64: Detect FEAT_CSSC Richard Henderson
2026-08-12  3:35   ` Brad Smith
2026-08-12 13:56     ` Richard Henderson
2026-08-12  0:31 ` [PATCH 4/7] tcg/aarch64: Implement min/max with FEAT_CSSC Richard Henderson
2026-08-12  7:15   ` Philippe Mathieu-Daudé
2026-08-12  0:31 ` [PATCH 5/7] target/riscv64: Implement min/max with Zbb Richard Henderson
2026-08-12  0:31 ` [PATCH 6/7] tcg/aarch64: Implement ctpop with FEAT_CSSC Richard Henderson
2026-08-12  6:59   ` Philippe Mathieu-Daudé
2026-08-12  0:31 ` [PATCH 7/7] tcg/aarch64: Use CTZ from FEAT_CSSC Richard Henderson
2026-08-12  7:06   ` Philippe Mathieu-Daudé

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.