File tree 3 files changed +21
-3
lines changed
crates/core_arch/src/acle
3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
1
//! # References:
2
2
//!
3
3
//! - Section 8.3 "16-bit multiplications"
4
- //! - Section 8.4 "Saturating intrinsics"
5
4
//!
6
5
//! Intrinsics that could live here:
7
6
//!
11
10
//! - __smultt
12
11
//! - __smulwb
13
12
//! - __smulwt
14
- //! - __ssat
15
- //! - __usat
16
13
//! - __qadd
17
14
//! - __qsub
18
15
//! - __qdbl
Original file line number Diff line number Diff line change @@ -79,6 +79,19 @@ mod dsp;
79
79
) ) ]
80
80
pub use self :: dsp:: * ;
81
81
82
+ // Supported arches: 6, 7-M. See Section 10.1 of ACLE (e.g. SSAT)
83
+ #[ cfg( all(
84
+ not( target_arch = "aarch64" ) ,
85
+ target_feature = "v6" ,
86
+ ) ) ]
87
+ mod sat;
88
+
89
+ #[ cfg( all(
90
+ not( target_arch = "aarch64" ) ,
91
+ target_feature = "v6" ,
92
+ ) ) ]
93
+ pub use self :: sat:: * ;
94
+
82
95
// Deprecated in ACLE 2.0 for the A profile but fully supported on the M and R profiles, says
83
96
// Section 5.4.9 of ACLE. We'll expose these for the A profile even if deprecated
84
97
#[ cfg( all(
Original file line number Diff line number Diff line change
1
+ //! # References:
2
+ //!
3
+ //! - Section 8.4 "Saturating intrinsics"
4
+ //!
5
+ //! Intrinsics that could live here:
6
+ //!
7
+ //! - __ssat
8
+ //! - __usat
You can’t perform that action at this time.
0 commit comments