Skip to content

Commit 1f2ecf4

Browse files
authored
Merge pull request #469 from jrtc27/reserve-standard-encodings
Document reserving standard encodings
2 parents 301374e + 77666ae commit 1f2ecf4

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

introduction.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,12 @@ This specification uses the following terms and abbreviations:
6161
NOTE: ABI for big-endian is *NOT* included in this specification, we intend to
6262
define that in future version of this specification.
6363

64+
Any encodings that are marked as reserved for a specific extension (ISA or
65+
purely ABI addition) should be treated by standard tools identically to any
66+
other encodings reserved for future standard extensions. Such reservations are
67+
solely declarations of intent to reduce conflicts between in-flight standard
68+
extensions, and may be reclaimed for future reassignment at any point for any
69+
reason. Any encodings marked as reserved have draft, not ratified, status,
70+
regardless of whether they are reserved for a ratified ISA extension.
71+
6472
:sectnums:

policy.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,27 @@ Each type of modification has a different policy, based on the following rules:
5151
needed for reviews, but in case you want to reach out yourself you can find
5252
an incomplete list from [RISC-V International's wiki page].
5353

54+
# Reserving Encodings
55+
56+
- Relocations within the standard encoding space, or program header types etc.,
57+
may be reserved for in-development standard extensions
58+
- Such extensions must be under development by an existing TG and be well on
59+
the way to ratification (such as, but not strictly required, be in the
60+
stable state)
61+
- A proof-of-concept toolchain ideally should exist
62+
- A specification for the ABI additions ideally should exist
63+
- The nature of extensions can vary, and so the policy here is intentionally
64+
vague and incomplete; each request will be evaluated on a case-by-case
65+
basis by the psABI community
66+
- Encoding reservations are voluntary and non-binding; whilst the psABI
67+
community intends to honour reasonable requests, it reserves the right to stop
68+
reserving such encodings for any reason, including in the following
69+
non-exhaustive list of cases:
70+
- If an extension is abandoned instead of proceeding to ratification, its
71+
reserved encodings will be reclaimed
72+
- If an extension is ratified but does not end up requiring all of its
73+
reserved encodings, its unused encodings will be reclaimed
74+
5475
[@kito-cheng]: https://github.com/kito-cheng
5576
[@jrtc27]: https://github.com/jrtc27
5677
[RISC-V International's wiki page]: https://wiki.riscv.org/display/TECH/Toolchain+Projects

0 commit comments

Comments
 (0)