Skip to content

Commit fbf3cbb

Browse files
committed
Improve grammar and wording Tag_RISCV_arch section.
Correct incorrect tense normalized -> normalize Break up some long sentences.
1 parent 9582b9a commit fbf3cbb

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

riscv-elf.adoc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,19 +1220,18 @@ as `rv32i2p1_m2p0_a2p1_f2p2_d2p2_zicsr2p0_zifencei2p0` in which the
12201220
abbreviation `g` is expanded to the `imafd_zicsr_zifencei` combination with
12211221
default versions of the standard extensions.
12221222

1223-
The toolchain should normalized the architecture string into canonical order
1224-
which defined in
1223+
The toolchain should normalize the architecture string by expanding all
1224+
required extensions and placing them in canonical order which is defined in
12251225
_The RISC-V Instruction Set Manual, Volume I: User-Level ISA, Document_ <<riscv-unpriv>>
1226-
, expanded with all required extension and should add shorthand extension into
1227-
architecture string if all expanded extensions are included in architecture
1228-
string.
1226+
. Shorthand extensions should be expanded into the architecture string if all
1227+
expanded extensions are included in the architecture string.
12291228

12301229
NOTE: A shorthand extension is an extension that does not define any actual
12311230
instructions, registers or behavior, but requires other extensions, such as the
1232-
`zks` extension, which is defined in the cryptographic extension,
1231+
`zks` cryptography extension.
12331232
`zks` extension is shorthand for `zbkb`, `zbkc`, `zbkx`, `zksed` and `zksh`, so
12341233
the toolchain should normalize `rv32i_zbkb_zbkc_zbkx_zksed_zksh` to
1235-
`rv32i_zbkb_zbkc_zbkx_zks_zksed_zksh`; `g` is an exception and does not apply to
1234+
`rv32i_zbkb_zbkc_zbkx_zks_zksed_zksh`; `g` is an exception and does not follow
12361235
this rule.
12371236

12381237
Merge Policy:::

0 commit comments

Comments
 (0)