[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] tcg/riscv: Use BEXTI for single-bit extractions
From: |
Richard Henderson |
Subject: |
[PATCH 0/2] tcg/riscv: Use BEXTI for single-bit extractions |
Date: |
Thu, 2 Jan 2025 10:15:59 -0800 |
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
- [PATCH 0/2] tcg/riscv: Use BEXTI for single-bit extractions,
Richard Henderson <=