On Wed, Mar 11, 2026 at 1:15 AM James Wainwright
<james.wainwright@lowrisc.org> wrote:
>
> Reorganised as a vendor extension for Ibex and renamed to xlrbr (as in
> X-LowRisc-Bitmanip-R, like Zbr).
>
> Apologies for the double-post, I realised right after the last patch that this
> name would be better. Please disregard v2.
>
> James Wainwright (3):
> util: export CRC32[C] lookup tables
> target/riscv: add draft RISC-V Zbr ext as xbr0p93
> disas: diassemble RISC-V Zbr0p93 instructions
Looks good but you didn't change the names in the commit titles,
probably worth updating those as well
Alistair
>
> MAINTAINERS | 5 +-
> disas/meson.build | 3 +-
> disas/riscv-xlrbr.c | 79 +++++++++++++++++++++
> disas/riscv-xlrbr.h | 19 +++++
> disas/riscv.c | 2 +
> include/qemu/crc32.h | 18 +++++
> include/qemu/crc32c.h | 1 +
> target/riscv/bitmanip_helper.c | 20 ++++++
> target/riscv/cpu.c | 4 +-
> target/riscv/cpu_cfg.h | 1 +
> target/riscv/cpu_cfg_fields.h.inc | 1 +
> target/riscv/helper.h | 2 +
> target/riscv/insn_trans/trans_xlrbr.c.inc | 45 ++++++++++++
> target/riscv/meson.build | 1 +
> target/riscv/translate.c | 3 +
> target/riscv/xlrbr.decode | 30 ++++++++
> tests/tcg/riscv64/Makefile.softmmu-target | 5 ++
> tests/tcg/riscv64/test-crc32.S | 64 +++++++++++++++++
> util/crc32.c | 85 +++++++++++++++++++++++
> util/crc32c.c | 4 +-
> util/meson.build | 1 +
> 21 files changed, 388 insertions(+), 5 deletions(-)
> create mode 100644 disas/riscv-xlrbr.c
> create mode 100644 disas/riscv-xlrbr.h
> create mode 100644 include/qemu/crc32.h
> create mode 100644 target/riscv/insn_trans/trans_xlrbr.c.inc
> create mode 100644 target/riscv/xlrbr.decode
> create mode 100644 tests/tcg/riscv64/test-crc32.S
> create mode 100644 util/crc32.c
>
> --
> 2.48.1
>
>