RFC target/riscv: Add Zvdota/Zvbdota families of dot-product extensions
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest38 patches 78 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/38 | fpu/softfloat: Support OCP(Open Compute Project) OFP8 checking functionsfpu/ include/ | +125 | 2 replies | |
| 2/38 | target/riscv: Introduce riscv_init_fp_statustarget/ | +10 | 2 replies | |
| 3/38 | target/riscv: rvv: Introduce RVBNA algorithm for Zvdota/Zvbdota extensionsMAINTAINERS target/ target/ +2 more | +233 | 2 replies | |
| 4/38 | target/riscv: Add cfg property for Zvqwdota8i extensiontarget/ target/ target/ +1 more | +12 | 2 replies | |
| 5/38 | target/riscv: Add implied rules for Zvqwdota8i extensiontarget/ | +10 | 2 replies | |
| 6/38 | target/riscv: rvv: Implement Zvqwdota8i instructionstarget/ target/ target/ +1 more | +120 | 2 replies | |
| 7/38 | disas/riscv: Support Zvqwdota8i extensiondisas/ disas/ | +8 | 2 replies | |
| 8/38 | target/riscv: Add Zvqwdota16i cpu propertytarget/ target/ target/ +1 more | +11 | 2 replies | |
| 9/38 | target/riscv: Add Zvqwdota16i dependency imply ruletarget/ | +10 | 2 replies | |
| 10/38 | target/riscv: rvv: Implement Zvqwdota16i instructionstarget/ target/ target/ +1 more | +9 | 2 replies | |
| 11/38 | target/riscv: Add cfg property for Zvfwdota16bf extensiontarget/ target/ target/ +1 more | +10 | 2 replies | |
| 12/38 | target/riscv: Add implied rules for Zvfwdota16bf extensiontarget/ | +10 | 2 replies | |
| 13/38 | target/riscv: rvv: Implement Zvfwdota16bf instructiontarget/ target/ target/ +1 more | +95 | 3 replies | |
| 14/38 | disas/riscv: Support Zvfwdota16bf extensiondisas/ disas/ | +5 | 2 replies | |
| 15/38 | target/riscv: Add cfg property for Zvfqwdota8f extensiontarget/ target/ target/ +1 more | +10 | 2 replies | |
| 16/38 | target/riscv: Add implied rules for Zvfqwdota8f extensiontarget/ | +10 | 2 replies | |
| 17/38 | target/riscv: rvv: Implement Zvfqwdota8f instructionstarget/ target/ target/ +1 more | +118 | 2 replies | |
| 18/38 | disas/riscv: Support Zvfqwdota8f extensiondisas/ disas/ | +8 | 2 replies | |
| 19/38 | target/riscv: Add cfg property for Zvqwbdota8i extensiontarget/ target/ target/ +1 more | +10 | 2 replies | |
| 20/38 | target/riscv: Add implied rules for Zvqwbdota8i extensiontarget/ | +10 | 2 replies | |
| 21/38 | target/riscv: rvv: Implement Zvqwbdota8i instructionstarget/ target/ target/ +1 more | +139 | 2 replies | |
| 22/38 | disas/riscv: Support Zvqwbdota8i extensiondisas/ disas/ disas/ | +13 | 2 replies | |
| 23/38 | target/riscv: Add cfg property for Zvqwbdota16i extensiontarget/ target/ target/ +1 more | +10 | 2 replies | |
| 24/38 | target/riscv: Add implied rules for Zvqwbdota16i extensiontarget/ | +10 | 2 replies | |
| 25/38 | target/riscv: rvv: Implement Zvqwbdota16i instructionstarget/ target/ target/ +1 more | +9 | 2 replies | |
| 26/38 | target/riscv: Add cfg property for Zvfwbdota16bf extensiontarget/ target/ target/ +1 more | +10 | 2 replies | |
| 27/38 | target/riscv: Add implied rules for Zvfwbdota16bf extensiontarget/ | +10 | 2 replies | |
| 28/38 | target/riscv: rvv: Implement Zvfwbdota16bf instructiontarget/ target/ target/ +1 more | +112 | 2 replies | |
| 29/38 | disas/riscv: Support Zvfwbdota16bf extensiondisas/ disas/ | +2 | 2 replies | |
| 30/38 | target/riscv: Add cfg property for Zvfqwbdota8f extensiontarget/ target/ target/ +1 more | +10 | 2 replies | |
| 31/38 | target/riscv: Add implied rules for Zvfqwbdota8f extensiontarget/ | +10 | 2 replies | |
| 32/38 | target/riscv: rvv: Implement Zvfqwbdota8f instructionstarget/ target/ target/ +1 more | +90 | 2 replies | |
| 33/38 | disas/riscv: Support Zvfqwbdota8f extensiondisas/ disas/ | +5 | 2 replies | |
| 34/38 | target/riscv: Add cfg property for Zvfbdota32f extensiontarget/ target/ target/ | +8 | 2 replies | |
| 35/38 | target/riscv: Add implied rules for Zvfbdota32f extensiontarget/ | +10 | 2 replies | |
| 36/38 | target/riscv: rvv: Implement Zvfbdota32f instructionstarget/ target/ target/ +1 more | +75 | 2 replies | |
| 37/38 | disas/riscv: Support Zvfbdota32f extensiondisas/ disas/ | +2 | 2 replies | |
| 38/38 | tests/tcg/riscv64: Add test for Zvdota/Zvbdota extensionstests/ tests/ | +355 | 2 replies |
Reviews trailers per patch
All 38 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Henrique Barboza | Chao Liu |
|---|---|---|
| Series | T-b | |
| 1/38 | R-b | R-b |
| 2/38 | R-b | R-b |
| 3/38 | R-b | R-b |
| 4/38 | R-b | R-b |
| 5/38 | R-b | R-b |
| 6/38 | R-b | R-b |
| 7/38 | R-b | R-b |
| 8/38 | R-b | R-b |
| 9/38 | R-b | R-b |
| 10/38 | R-b | R-b |
| 11/38 | R-b | R-b |
| 12/38 | R-b | R-b |
| 13/38 | R-b | |
| 14/38 | R-b | R-b |
| 15/38 | R-b | R-b |
| 16/38 | R-b | R-b |
| 17/38 | R-b | R-b |
| 18/38 | R-b | R-b |
| 19/38 | R-b | R-b |
| 20/38 | R-b | R-b |
| 21/38 | R-b | R-b |
| 22/38 | R-b | R-b |
| 23/38 | R-b | R-b |
| 24/38 | R-b | R-b |
| 25/38 | R-b | R-b |
| 26/38 | R-b | R-b |
| 27/38 | R-b | R-b |
| 28/38 | R-b | R-b |
| 29/38 | R-b | R-b |
| 30/38 | R-b | R-b |
| 31/38 | R-b | R-b |
| 32/38 | R-b | R-b |
| 33/38 | R-b | R-b |
| 34/38 | R-b | R-b |
| 35/38 | R-b | R-b |
| 36/38 | R-b | R-b |
| 37/38 | R-b | R-b |
| 38/38 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 00/38] target/riscv: Add Zvdota/Zvbdota families of dot-product extensions
This RFC patchset introduces the Zvdota/Zvbdota families of dot-product extensions based on the ISA specification
(https://github.com/riscv/riscv-isa-manual/pull/2618 v1.0 commit: 570e32e)
- Zvdota: Zvqwdota8i/Zvqwdota16i/Zvfwdota16bf/Zvfqwdota8f
- Zvbdota: Zvqwbdota8i/Zvqwbdota16i/Zvfwbdota16bf/Zvfqwbdota8f/Zvfbdota32f
This RFC patchset assigns the Zvdota/Zvbdota cpu properties as the experimental cpu isa extension properties. These experimental cpu isa extension properties will be replaced after the Zvdota/Zvbdota isa specification is ratified.
The toolchains support Zvdota/Zvbdota families extensions:
- LLVM (after 23.1.0)
- Support v0.2 Zvdota/Zvbdota extensions
- https://releases.llvm.org/23.1.0/docs/RISCVUsage.html
- llvm/llvm-project#196467, commit d25ec4b84487, merged 2026-05-27.
- https://github.com/llvm/llvm-project/pull/196467
- GCC (reviewing)
- Upstream patchset: <[email protected]>
References:
- riscv-isa-manual PR: https://github.com/riscv/riscv-isa-manual/pull/2618
rnax
Max Chou (38):
fpu/softfloat: Support OCP(Open Compute Project) OFP8 checking
functions
target/riscv: Introduce riscv_init_fp_status target/riscv: rvv: Introduce RVBNA algorithm for Zvdota/Zvbdota
extensions
target/riscv: Add cfg property for Zvqwdota8i extension target/riscv: Add implied rules for Zvqwdota8i extension target/riscv: rvv: Implement Zvqwdota8i instructions disas/riscv: Support Zvqwdota8i extension target/riscv: Add Zvqwdota16i cpu property target/riscv: Add Zvqwdota16i dependency imply rule target/riscv: rvv: Implement Zvqwdota16i instructions target/riscv: Add cfg property for Zvfwdota16bf extension target/riscv: Add implied rules for Zvfwdota16bf extension target/riscv: rvv: Implement Zvfwdota16bf instruction disas/riscv: Support Zvfwdota16bf extension target/riscv: Add cfg property for Zvfqwdota8f extension target/riscv: Add implied rules for Zvfqwdota8f extension target/riscv: rvv: Implement Zvfqwdota8f instructions disas/riscv: Support Zvfqwdota8f extension target/riscv: Add cfg property for Zvqwbdota8i extension target/riscv: Add implied rules for Zvqwbdota8i extension target/riscv: rvv: Implement Zvqwbdota8i instructions disas/riscv: Support Zvqwbdota8i extension target/riscv: Add cfg property for Zvqwbdota16i extension target/riscv: Add implied rules for Zvqwbdota16i extension target/riscv: rvv: Implement Zvqwbdota16i instructions target/riscv: Add cfg property for Zvfwbdota16bf extension target/riscv: Add implied rules for Zvfwbdota16bf extension target/riscv: rvv: Implement Zvfwbdota16bf instruction disas/riscv: Support Zvfwbdota16bf extension target/riscv: Add cfg property for Zvfqwbdota8f extension target/riscv: Add implied rules for Zvfqwbdota8f extension target/riscv: rvv: Implement Zvfqwbdota8f instructions disas/riscv: Support Zvfqwbdota8f extension target/riscv: Add cfg property for Zvfbdota32f extension target/riscv: Add implied rules for Zvfbdota32f extension target/riscv: rvv: Implement Zvfbdota32f instructions disas/riscv: Support Zvfbdota32f extension tests/tcg/riscv64: Add test for Zvdota/Zvbdota extensions
MAINTAINERS | 6 + disas/riscv-op.c.inc | 12 + disas/riscv.c | 26 ++ disas/riscv.h | 2 + fpu/softfloat-specialize.c.inc | 55 +++ include/fpu/softfloat.h | 70 ++++ target/riscv/cpu.c | 121 +++++- target/riscv/cpu_cfg_fields.h.inc | 9 + target/riscv/helper.h | 28 ++ target/riscv/insn32.decode | 25 ++ target/riscv/tcg/insn_trans/trans_rvv.c.inc | 305 ++++++++++++++ target/riscv/tcg/meson.build | 2 +- target/riscv/tcg/rvbna.c | 185 +++++++++ target/riscv/tcg/rvbna.h | 40 ++ target/riscv/tcg/tcg-cpu.c | 45 +++ target/riscv/tcg/vector_helper.c | 424 +++++++++++++++++++- tests/tcg/riscv64/system/meson.build | 12 + tests/tcg/riscv64/test-zvdota.S | 343 ++++++++++++++++ 18 files changed, 1703 insertions(+), 7 deletions(-) create mode 100644 target/riscv/tcg/rvbna.c create mode 100644 target/riscv/tcg/rvbna.h create mode 100644 tests/tcg/riscv64/test-zvdota.S
Signature · 1 line
2.56.0