File tree 4 files changed +18
-0
lines changed
4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 72
72
- arm-unknown-linux-gnueabihf
73
73
- armv7-unknown-linux-gnueabihf
74
74
- aarch64-unknown-linux-gnu
75
+ - riscv64gc-unknown-linux-gnu
75
76
- powerpc64le-unknown-linux-gnu
76
77
- mips-unknown-linux-gnu
77
78
- mips64-unknown-linux-gnuabi64
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ others at:
185
185
* [ ` x86_64 ` ]
186
186
* [ ` arm ` ]
187
187
* [ ` aarch64 ` ]
188
+ * [ ` riscv ` ]
188
189
* [ ` mips ` ]
189
190
* [ ` mips64 ` ]
190
191
* [ ` powerpc ` ]
@@ -196,6 +197,7 @@ others at:
196
197
[ `x86_64` ] : x86_64/index.html
197
198
[ `arm` ] : arm/index.html
198
199
[ `aarch64` ] : aarch64/index.html
200
+ [ `riscv` ] : riscv/index.html
199
201
[ `mips` ] : mips/index.html
200
202
[ `mips64` ] : mips64/index.html
201
203
[ `powerpc` ] : powerpc/index.html
Original file line number Diff line number Diff line change @@ -55,6 +55,16 @@ pub mod arch {
55
55
pub use crate :: core_arch:: aarch64:: * ;
56
56
}
57
57
58
+ /// Platform-specific intrinsics for the `riscv` platform.
59
+ ///
60
+ /// See the [module documentation](../index.html) for more details.
61
+ #[ cfg( any( target_arch = "riscv32" , target_arch = "riscv64" , doc) ) ]
62
+ #[ doc( cfg( any( target_arch = "riscv32" , target_arch = "riscv64" ) ) ) ]
63
+ #[ unstable( feature = "stdsimd" , issue = "27731" ) ]
64
+ pub mod riscv {
65
+ pub use crate :: core_arch:: riscv:: * ;
66
+ }
67
+
58
68
/// Platform-specific intrinsics for the `wasm32` platform.
59
69
///
60
70
/// This module provides intrinsics specific to the WebAssembly
@@ -251,6 +261,10 @@ mod aarch64;
251
261
#[ doc( cfg( any( target_arch = "arm" ) ) ) ]
252
262
mod arm;
253
263
264
+ #[ cfg( any( target_arch = "riscv32" , target_arch = "riscv64" , doc) ) ]
265
+ #[ doc( cfg( any( target_arch = "riscv32" , target_arch = "riscv64" ) ) ) ]
266
+ mod riscv;
267
+
254
268
#[ cfg( any( target_family = "wasm" , doc) ) ]
255
269
#[ doc( cfg( target_family = "wasm" ) ) ]
256
270
mod wasm32;
Original file line number Diff line number Diff line change
1
+ //! RISC-V intrinsics
You can’t perform that action at this time.
0 commit comments