Skip to content

Commit 4115155

Browse files
wpcwzyPaul Walmsley
authored andcommitted
dt-bindings: riscv: add Zilsd and Zclsd extension descriptions
Add descriptions for the Zilsd (Load/Store pair instructions) and Zclsd (Compressed Load/Store pair instructions) ISA extensions which were ratified in commit f88abf1 ("Integrating load/store pair for RV32 with the main manual") of the riscv-isa-manual. Signed-off-by: Pincheng Wang <pincheng.plct@isrc.iscas.ac.cn> Reviewed-by: Nutty Liu <nutty.liu@hotmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20250826162939.1494021-2-pincheng.plct@isrc.iscas.ac.cn Signed-off-by: Paul Walmsley <pjw@kernel.org>
1 parent e0e51a0 commit 4115155

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Documentation/devicetree/bindings/riscv/extensions.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,20 @@ properties:
377377
guarantee on LR/SC sequences, as ratified in commit b1d806605f87
378378
("Updated to ratified state.") of the riscv profiles specification.
379379

380+
- const: zilsd
381+
description:
382+
The standard Zilsd extension which provides support for aligned
383+
register-pair load and store operations in 32-bit instruction
384+
encodings, as ratified in commit f88abf1 ("Integrating
385+
load/store pair for RV32 with the main manual") of riscv-isa-manual.
386+
387+
- const: zclsd
388+
description:
389+
The Zclsd extension implements the compressed (16-bit) version of the
390+
Load/Store Pair for RV32. As with Zilsd, this extension was ratified
391+
in commit f88abf1 ("Integrating load/store pair for RV32 with the
392+
main manual") of riscv-isa-manual.
393+
380394
- const: zk
381395
description:
382396
The standard Zk Standard Scalar cryptography extension as ratified
@@ -882,6 +896,16 @@ properties:
882896
anyOf:
883897
- const: v
884898
- const: zve32x
899+
# Zclsd depends on Zilsd and Zca
900+
- if:
901+
contains:
902+
anyOf:
903+
- const: zclsd
904+
then:
905+
contains:
906+
allOf:
907+
- const: zilsd
908+
- const: zca
885909

886910
allOf:
887911
# Zcf extension does not exist on rv64
@@ -899,6 +923,18 @@ allOf:
899923
not:
900924
contains:
901925
const: zcf
926+
# Zilsd extension does not exist on rv64
927+
- if:
928+
properties:
929+
riscv,isa-base:
930+
contains:
931+
const: rv64i
932+
then:
933+
properties:
934+
riscv,isa-extensions:
935+
not:
936+
contains:
937+
const: zilsd
902938

903939
additionalProperties: true
904940
...

0 commit comments

Comments
 (0)