@@ -22,6 +22,19 @@ features! {
22
22
///
23
23
/// [ISA manual]: https://riscv.org/specifications/ratified/
24
24
///
25
+ /// # Platform-specific/agnostic Behavior and Availability
26
+ ///
27
+ /// Runtime detection depends on the platform-specific feature detection
28
+ /// facility and its availability per feature is
29
+ /// highly platform/version-specific.
30
+ ///
31
+ /// Still, a best-effort attempt is performed to enable subset/dependent
32
+ /// features if a superset feature is enabled regardless of the platform.
33
+ /// For instance, if the A extension (`"a"`) is enabled, its subsets (the
34
+ /// Zalrsc and Zaamo extensions; `"zalrsc"` and `"zaamo"`) are also enabled.
35
+ /// Likewise, if the F extension (`"f"`) is enabled, one of its dependencies
36
+ /// (the Zicsr extension `"zicsr"`) is also enabled.
37
+ ///
25
38
/// # Unprivileged Specification
26
39
///
27
40
/// The supported ratified RISC-V instruction sets are as follows:
@@ -122,7 +135,9 @@ features! {
122
135
/// corresponding unaligned memory access is reasonably fast.
123
136
///
124
137
/// * `"unaligned-scalar-mem"`
138
+ /// * Runtime detection requires Linux kernel version 6.4 or later.
125
139
/// * `"unaligned-vector-mem"`
140
+ /// * Runtime detection requires Linux kernel version 6.13 or later.
126
141
#[ stable( feature = "riscv_ratified" , since = "1.78.0" ) ]
127
142
128
143
@FEATURE : #[ unstable( feature = "stdarch_riscv_feature_detection" , issue = "111192" ) ] rv32i: "rv32i" ;
0 commit comments