qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tcg/riscv: Use BEXTI for single-bit extractions
@ 2025-01-02 18:15 Richard Henderson
  2025-01-02 18:16 ` [PATCH 1/2] util/cpuinfo-riscv: Detect Zbs Richard Henderson
  2025-01-02 18:16 ` [PATCH 2/2] tcg/riscv: Use BEXTI for single-bit extractions Richard Henderson
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Henderson @ 2025-01-02 18:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-riscv, palmer, Alistair.Francis

Based-on: 20250102180654.1420056-1-richard.henderson@linaro.org
("[PATCH 00/73] tcg: Merge *_i32 and *_i64 opcodes")

While riscv does not yet have a completely general extract,
the Zbs extension added a single-bit extract.

Tested on cfarm95, a Banana Pi BPI-F3.


r~


Richard Henderson (2):
  util/cpuinfo-riscv: Detect Zbs
  tcg/riscv: Use BEXTI for single-bit extractions

 host/include/riscv/host/cpuinfo.h |  5 +++--
 tcg/riscv/tcg-target-has.h        |  8 +++++++-
 util/cpuinfo-riscv.c              | 18 ++++++++++++++++--
 tcg/riscv/tcg-target.c.inc        | 13 +++++++++++--
 4 files changed, 37 insertions(+), 7 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2025-01-07 15:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 18:15 [PATCH 0/2] tcg/riscv: Use BEXTI for single-bit extractions Richard Henderson
2025-01-02 18:16 ` [PATCH 1/2] util/cpuinfo-riscv: Detect Zbs Richard Henderson
2025-01-06  0:44   ` Alistair Francis
2025-01-07  9:05   ` Philippe Mathieu-Daudé
2025-01-02 18:16 ` [PATCH 2/2] tcg/riscv: Use BEXTI for single-bit extractions Richard Henderson
2025-01-06  0:45   ` Alistair Francis
2025-01-07 10:29   ` Philippe Mathieu-Daudé
2025-01-07 15:27     ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).