Skip to content

Commit eabf01c

Browse files
authored
Move description of vector calling convention variant before the table. (#480)
Instead of having it as a footnote on the table.
1 parent 104b7dc commit eabf01c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

riscv-cc.adoc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,16 @@ Any procedure that does explicitly write `vstart` to a nonzero value must zero
127127
`vstart` before either returning or calling another procedure.
128128

129129
==== Calling Convention Variant
130-
.Variant vector register calling convention*
130+
131+
Functions that use vector registers to pass arguments and return values must
132+
follow this calling convention. Some programming languages can require extra
133+
functions to follow this calling convention (e.g. C/C++ functions with
134+
attribute `riscv_vector_cc`).
135+
136+
Please refer to the <<Standard Vector Calling Convention Variant>> section for
137+
more details about standard vector calling convention variant.
138+
139+
.Variant vector register calling convention
131140
[%autowidth]
132141
|===
133142
| Name | ABI Mnemonic | Meaning | Preserved across calls?
@@ -142,14 +151,6 @@ Any procedure that does explicitly write `vstart` to a nonzero value must zero
142151
| vxsat | | Vector fixed-point saturation flag register | No
143152
|===
144153

145-
*: Functions that use vector registers to pass arguments and return values must
146-
follow this calling convention. Some programming languages can require extra
147-
functions to follow this calling convention (e.g. C/C++ functions with
148-
attribute `riscv_vector_cc`).
149-
150-
Please refer to the <<Standard Vector Calling Convention Variant>> section for
151-
more details about standard vector calling convention variant.
152-
153154
NOTE: The `vxrm` and `vxsat` fields of `vcsr` follow the same behavior as the
154155
standard calling convention.
155156

0 commit comments

Comments
 (0)