Skip to content

Commit 4785b33

Browse files
authored
Merge pull request riscv#1805 from riscv/redundant-section
Remove redundant "Section" words
2 parents 3f7d72c + 9f0691b commit 4785b33

File tree

4 files changed

+51
-49
lines changed

4 files changed

+51
-49
lines changed

src/machine.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2829,7 +2829,9 @@ and I/O regions may be accessed with either _relaxed_ or _strong_
28292829
ordering. Accesses to an I/O region with relaxed ordering are generally
28302830
observed by other harts and bus mastering devices in a manner similar to
28312831
the ordering of accesses to an RVWMO memory region, as discussed in
2832-
Section A.4.2 in Volume I of this specification. By contrast, accesses
2832+
the I/O Ordering section in the RVWMO Explanatory Material appendix
2833+
of Volume I of this specification.
2834+
By contrast, accesses
28332835
to an I/O region with strong ordering are generally observed by other
28342836
harts and bus mastering devices in program order.
28352837

src/mm-formal.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ input and simulates the execution of the test on top of the memory
255255
model. Memory models are written in the domain specific language Cat.
256256
This section provides two Cat memory model of RVWMO. The first model,
257257
<<herd2>>, follows the _global memory order_,
258-
Chapter <<memorymodel>>, definition of RVWMO, as much
258+
<<memorymodel>>, definition of RVWMO, as much
259259
as is possible for a Cat model. The second model,
260260
<<herd3>>, is an equivalent, more efficient,
261261
partial order based RVWMO model.

src/scalar-crypto.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4657,7 +4657,7 @@ SP 800-90C cite:[BaKeRo:21] states that each conditioned block of n bits
46574657
is required to have n+64 bits of input entropy to attain full entropy.
46584658
Hence NIST SP 800-90B cite:[TuBaKe:18] min-entropy assessment must
46594659
guarantee at least 128 + 64 = 192 bits input entropy per 256-bit block
4660-
( cite:[BaKeRo:21], Sections 4.1. and 4.3.2 ).
4660+
(cite:[BaKeRo:21], Sections 4.1. and 4.3.2).
46614661
Only then a hashing of 16 * 16 = 256 bits from the entropy source
46624662
will produce the desired 128 bits of full entropy. This follows from
46634663
the specific requirements, threat model, and distinguishability proof

src/v-st-ext.adoc

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This spec includes the complete set of currently frozen vector
1515
instructions. Other instructions that have been considered during
1616
development but are not present in this document are not included in
1717
the review and ratification process, and may be completely revised or
18-
abandoned. Section <<sec-vector-extensions>> lists the standard
18+
abandoned. <<sec-vector-extensions>> lists the standard
1919
vector extensions and which instructions and element widths are
2020
supported by each extension.
2121

@@ -27,7 +27,7 @@ Each hart supporting a vector extension defines two parameters:
2727
must be a power of 2.
2828
. The number of bits in a single vector register, _VLEN_ {ge} ELEN, which must be a power of 2, and must be no greater than 2^16^.
2929

30-
Standard vector extensions (Section <<sec-vector-extensions>>) and
30+
Standard vector extensions (<<sec-vector-extensions>>) and
3131
architecture profiles may set further constraints on _ELEN_ and _VLEN_.
3232

3333
NOTE: Future extensions may allow ELEN {gt} VLEN by holding one
@@ -350,7 +350,7 @@ These two bits modify the behavior of destination tail elements and
350350
destination inactive masked-off elements respectively during the
351351
execution of vector instructions. The tail and inactive sets contain
352352
element positions that are not receiving new results during a vector
353-
operation, as defined in Section <<sec-inactive-defs>>.
353+
operation, as defined in <<sec-inactive-defs>>.
354354

355355
All systems must support all four options:
356356

@@ -478,7 +478,7 @@ instruction variants.
478478

479479
The `vl` register holds an unsigned integer specifying the number of
480480
elements to be updated with results from a vector instruction, as
481-
further detailed in Section <<sec-inactive-defs>>.
481+
further detailed in <<sec-inactive-defs>>.
482482

483483
NOTE: The number of bits implemented in `vl` depends on the
484484
implementation's maximum vector length of the smallest supported
@@ -502,7 +502,7 @@ settings which require them to be saved and restored.
502502

503503
The _XLEN_-bit-wide read-write `vstart` CSR specifies the index of the
504504
first element to be executed by a vector instruction, as described in
505-
Section <<sec-inactive-defs>>.
505+
<<sec-inactive-defs>>.
506506

507507
Normally, `vstart` is only written by hardware on a trap on a vector
508508
instruction, with the `vstart` value representing the element on which
@@ -993,8 +993,8 @@ Masking is supported on many vector instructions. Element operations
993993
that are masked off (inactive) never generate exceptions. The
994994
destination vector register elements corresponding to masked-off
995995
elements are handled with either a mask-undisturbed or mask-agnostic
996-
policy depending on the setting of the `vma` bit in `vtype` (Section
997-
<<sec-agnostic>>).
996+
policy depending on the setting of the `vma` bit in `vtype`
997+
(<<sec-agnostic>>).
998998

999999
The mask value used to control execution of a masked vector
10001000
instruction is always supplied by vector register `v0`.
@@ -1017,7 +1017,7 @@ Other vector registers can be used to hold working mask values, and
10171017
mask vector logical operations are provided to perform predicate
10181018
calculations. [[sec-mask-vector-logical]]
10191019

1020-
As specified in Section <<sec-agnostic>>, mask destination values are
1020+
As specified in <<sec-agnostic>>, mask destination values are
10211021
always treated as tail-agnostic, regardless of the setting of `vta`.
10221022

10231023
[[sec-vector-mask-encoding]]
@@ -1489,7 +1489,7 @@ regular vector loads and stores, `nf`=0, indicating that a single
14891489
value is moved between a vector register group and memory at each
14901490
element position. Larger values in the `nf` field are used to access
14911491
multiple contiguous fields within a segment as described below in
1492-
Section <<sec-aos>>.
1492+
<<sec-aos>>.
14931493

14941494
The `nf[2:0]` field also encodes the number of whole vector registers
14951495
to transfer for the whole vector register load/store instructions.
@@ -2325,7 +2325,7 @@ NOTE: The floating-point widening operations were changed to `vfw*`
23252325
from `vwf*` to be more consistent with any scalar widening
23262326
floating-point operations that will be written as `fw*`.
23272327

2328-
Widening instruction encodings must follow the constraints in Section
2328+
Widening instruction encodings must follow the constraints in
23292329
<<sec-vec-operands>>.
23302330

23312331
[[sec-narrowing]]
@@ -2360,7 +2360,7 @@ vnop.wv vd, vs2, vs1, vm # integer vector-vector vd[i] = vs2[i] op vs1[i]
23602360
vnop.wx vd, vs2, rs1, vm # integer vector-scalar vd[i] = vs2[i] op x[rs1]
23612361
----
23622362

2363-
Narrowing instruction encodings must follow the constraints in Section
2363+
Narrowing instruction encodings must follow the constraints in
23642364
<<sec-vec-operands>>.
23652365

23662366
[[sec-vector-integer]]
@@ -2469,7 +2469,7 @@ the second to generate the carry output (single bit encoded as a mask
24692469
boolean).
24702470

24712471
The carry inputs and outputs are represented using the mask register
2472-
layout as described in Section <<sec-mask-register-layout>>. Due to
2472+
layout as described in <<sec-mask-register-layout>>. Due to
24732473
encoding constraints, the carry input must come from the implicit `v0`
24742474
register, but carry outputs can be written to any vector register that
24752475
respects the source/destination overlap restrictions.
@@ -2650,7 +2650,7 @@ pseudoinstruction is provided `vncvt.x.x.w vd,vs,vm` = `vnsrl.wx vd,vs,x0,vm`.
26502650
The following integer compare instructions write 1 to the destination
26512651
mask register element if the comparison evaluates to true, and 0
26522652
otherwise. The destination mask vector is always held in a single
2653-
vector register, with a layout of elements as described in Section
2653+
vector register, with a layout of elements as described in
26542654
<<sec-mask-register-layout>>. The destination mask vector register
26552655
may be the same as the source vector mask register (`v0`).
26562656

@@ -3262,7 +3262,7 @@ The vector floating-point instructions have the same behavior as the
32623262
scalar floating-point instructions with regard to NaNs.
32633263

32643264
Scalar values for floating-point vector-scalar operations are sourced
3265-
as described in Section <<sec-arithmetic-encoding>>.
3265+
as described in <<sec-arithmetic-encoding>>.
32663266

32673267
==== Vector Floating-Point Exception Flags
32683268

@@ -3611,7 +3611,7 @@ pseudoinstruction is provided: `vfabs.v vd,vs` = `vfsgnjx.vv vd,vs,vs`.
36113611
These vector FP compare instructions compare two source operands and
36123612
write the comparison result to a mask register. The destination mask
36133613
vector is always held in a single vector register, with a layout of
3614-
elements as described in Section <<sec-mask-register-layout>>. The
3614+
elements as described in <<sec-mask-register-layout>>. The
36153615
destination mask vector register may be the same as the source vector
36163616
mask register (`v0`). Compares write mask registers, and so always
36173617
operate under a tail-agnostic policy.
@@ -4140,7 +4140,7 @@ assembler instruction alias `vpopc.m` is being retained for software
41404140
compatibility.
41414141

41424142
The source operand is a single vector register holding mask register
4143-
values as described in Section <<sec-mask-register-layout>>.
4143+
values as described in <<sec-mask-register-layout>>.
41444144

41454145
The `vcpop.m` instruction counts the number of mask elements of the
41464146
active elements of the vector source mask register that have the value
@@ -4554,8 +4554,8 @@ vslidedown.vi vd, vs2, uimm, vm # vd[i] = vs2[i+uimm]
45544554

45554555
For `vslidedown`, the value in `vl` specifies the maximum number of
45564556
destination elements that are written. The remaining elements past
4557-
`vl` are handled according to the current tail policy (Section
4558-
<<sec-agnostic>>).
4557+
`vl` are handled according to the current tail policy
4558+
(<<sec-agnostic>>).
45594559

45604560
The start index (_OFFSET_) for the source can be either specified
45614561
using an unsigned integer in the `x` register specified by `rs1`, or a
@@ -4596,8 +4596,8 @@ vector register group.
45964596

45974597
The `vl` register specifies the maximum number of destination vector
45984598
register elements updated with source values, and remaining elements
4599-
past `vl` are handled according to the current tail policy (Section
4600-
<<sec-agnostic>>).
4599+
past `vl` are handled according to the current tail policy
4600+
(<<sec-agnostic>>).
46014601

46024602

46034603
----
@@ -4631,8 +4631,8 @@ _i_ in the destination vector register group.
46314631

46324632
The `vl` register specifies the maximum number of destination vector
46334633
register elements written with source values, and remaining elements
4634-
past `vl` are handled according to the current tail policy (Section
4635-
<<sec-agnostic>>).
4634+
past `vl` are handled according to the current tail policy
4635+
(<<sec-agnostic>>).
46364636

46374637
----
46384638
vslide1down.vx vd, vs2, rs1, vm # vd[i] = vs2[i+1], vd[vl-1]=x[rs1]
@@ -4680,7 +4680,7 @@ treated as unsigned integers. The source vector can be read at any
46804680
index < VLMAX regardless of `vl`. The maximum number of elements to write to
46814681
the destination register is given by `vl`, and the remaining elements
46824682
past `vl` are handled according to the current tail policy
4683-
(Section <<sec-agnostic>>). The operation can be masked, and the mask
4683+
(<<sec-agnostic>>). The operation can be masked, and the mask
46844684
undisturbed/agnostic policy is followed for inactive elements.
46854685

46864686
----
@@ -4734,8 +4734,8 @@ The vector mask register specified by `vs1` indicates which of the
47344734
first `vl` elements of vector register group `vs2` should be extracted
47354735
and packed into contiguous elements at the beginning of vector
47364736
register `vd`. The remaining elements of `vd` are treated as tail
4737-
elements according to the current tail policy (Section
4738-
<<sec-agnostic>>).
4737+
elements according to the current tail policy
4738+
(<<sec-agnostic>>).
47394739

47404740
----
47414741
Example use of vcompress instruction
@@ -5032,14 +5032,14 @@ All Zve* extensions provide support for EEW of 8, 16, and 32, and
50325032
Zve64* extensions also support EEW of 64.
50335033

50345034
All Zve* extensions support the vector configuration instructions
5035-
(Section <<sec-vector-config>>).
5035+
(<<sec-vector-config>>).
50365036

50375037
All Zve* extensions support all vector load and store instructions
5038-
(Section <<sec-vector-memory>>), except Zve64* extensions do not
5038+
(<<sec-vector-memory>>), except Zve64* extensions do not
50395039
support EEW=64 for index values when XLEN=32.
50405040

5041-
All Zve* extensions support all vector integer instructions (Section
5042-
<<sec-vector-integer>>), except that the `vmulh` integer multiply
5041+
All Zve* extensions support all vector integer instructions
5042+
(<<sec-vector-integer>>), except that the `vmulh` integer multiply
50435043
variants that return the high word of the product (`vmulh.vv`,
50445044
`vmulh.vx`, `vmulhu.vv`, `vmulhu.vx`, `vmulhsu.vv`, `vmulhsu.vx`) are
50455045
not included for EEW=64 in Zve64*.
@@ -5055,27 +5055,27 @@ NOTE: As with `vmulh`, `vsmul` requires a large amount of additional
50555055
logic, and 64-bit fixed-point multiplies are relatively rare.
50565056

50575057
All Zve* extensions support all vector integer single-width and
5058-
widening reduction operations (Sections <<sec-vector-integer-reduce>>,
5058+
widening reduction operations (<<sec-vector-integer-reduce>>,
50595059
<<sec-vector-integer-reduce-widen>>).
50605060

5061-
All Zve* extensions support all vector mask instructions (Section
5062-
<<sec-vector-mask>>).
5061+
All Zve* extensions support all vector mask instructions
5062+
(<<sec-vector-mask>>).
50635063

50645064
All Zve* extensions support all vector permutation instructions
5065-
(Section <<sec-vector-permute>>), except that Zve32x and Zve64x
5065+
(<<sec-vector-permute>>), except that Zve32x and Zve64x
50665066
do not include those with floating-point operands, and Zve64f does not include those
50675067
with EEW=64 floating-point operands.
50685068

50695069
The Zve32x extension depends on the Zicsr extension.
50705070
The Zve32f and Zve64f extensions depend upon the F extension,
50715071
and implement all
5072-
vector floating-point instructions (Section <<sec-vector-float>>) for
5072+
vector floating-point instructions (<<sec-vector-float>>) for
50735073
floating-point operands with EEW=32. Vector single-width floating-point reduction
50745074
operations (<<sec-vector-float-reduce>>) for EEW=32 are supported.
50755075

50765076
The Zve64d extension depends upon the D extension,
50775077
and implements all vector
5078-
floating-point instructions (Section <<sec-vector-float>>) for
5078+
floating-point instructions (<<sec-vector-float>>) for
50795079
floating-point operands with EEW=32 or EEW=64 (including widening
50805080
instructions and conversions between FP32 and FP64). Vector
50815081
single-width floating-point reductions (<<sec-vector-float-reduce>>)
@@ -5106,31 +5106,31 @@ processed without stripmining using four vector register groups.
51065106
The V extension supports EEW of 8, 16, and 32, and 64.
51075107

51085108
The V extension supports the vector configuration instructions
5109-
(Section <<sec-vector-config>>).
5109+
(<<sec-vector-config>>).
51105110

51115111
The V extension supports all vector load and store instructions
5112-
(Section <<sec-vector-memory>>), except the V extension does not
5112+
(<<sec-vector-memory>>), except the V extension does not
51135113
support EEW=64 for index values when XLEN=32.
51145114

5115-
The V extension supports all vector integer instructions (Section
5116-
<<sec-vector-integer>>).
5115+
The V extension supports all vector integer instructions
5116+
(<<sec-vector-integer>>).
51175117

51185118
The V extension supports all vector fixed-point arithmetic
51195119
instructions (<<sec-vector-fixed-point>>).
51205120

51215121
The V extension supports all vector integer single-width and
5122-
widening reduction operations (Sections <<sec-vector-integer-reduce>>,
5122+
widening reduction operations (<<sec-vector-integer-reduce>>,
51235123
<<sec-vector-integer-reduce-widen>>).
51245124

5125-
The V extension supports all vector mask instructions (Section
5126-
<<sec-vector-mask>>).
5125+
The V extension supports all vector mask instructions
5126+
(<<sec-vector-mask>>).
51275127

5128-
The V extension supports all vector permutation instructions (Section
5129-
<<sec-vector-permute>>).
5128+
The V extension supports all vector permutation instructions
5129+
(<<sec-vector-permute>>).
51305130

51315131
The V extension depends upon the F and D
51325132
extensions, and implements all vector floating-point instructions
5133-
(Section <<sec-vector-float>>) for floating-point operands with EEW=32
5133+
(<<sec-vector-float>>) for floating-point operands with EEW=32
51345134
or EEW=64 (including widening instructions and conversions between
51355135
FP32 and FP64). Vector single-width floating-point reductions
51365136
(<<sec-vector-float-reduce>>) for EEW=32 and EEW=64 are supported as
@@ -5159,7 +5159,7 @@ The Zvfhmin extension depends on the Zve32f extension.
51595159

51605160
The Zvfh extension provides support for vectors of IEEE 754-2008
51615161
binary16 values.
5162-
When the Zvfh extension is implemented, all instructions in Sections
5162+
When the Zvfh extension is implemented, all instructions in
51635163
<<sec-vector-float>>, <<sec-vector-float-reduce>>,
51645164
<<sec-vector-float-reduce-widen>>, <<sec-vector-float-move>>,
51655165
<<sec-vfslide1up>>, and <<sec-vfslide1down>>

0 commit comments

Comments
 (0)