File tree 6 files changed +28
-18
lines changed
6 files changed +28
-18
lines changed Original file line number Diff line number Diff line change
1
+ //! AArch64 intrinsics.
2
+ //!
3
+ //! The reference for NEON is [ARM's NEON Intrinsics Reference][arm_ref]. The
4
+ //! [ARM's NEON Intrinsics Online Database][arm_dat] is also useful.
5
+ //!
6
+ //! [arm_ref]:
7
+ //! http://infocenter.arm.com/help/topic/com.arm.doc.
8
+ //! ihi0073a/IHI0073A_arm_neon_intrinsics_ref.pdf
9
+ //! [arm_dat]: https://developer.arm.com/technologies/neon/intrinsics
10
+
11
+ mod v8;
12
+ pub use self :: v8:: * ;
13
+
14
+ #[ cfg( target_feature = "neon" ) ]
15
+ mod neon;
16
+ #[ cfg( target_feature = "neon" ) ]
17
+ pub use self :: neon:: * ;
File renamed without changes.
Original file line number Diff line number Diff line change 5
5
//! [armv8]: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.
6
6
//! ddi0487a.k_10775/index.html
7
7
8
- pub use super :: v7:: * ;
9
-
10
8
#[ cfg( test) ]
11
9
use stdsimd_test:: assert_instr;
12
10
@@ -59,7 +57,7 @@ pub unsafe fn _cls_u64(x: u64) -> u64 {
59
57
60
58
#[ cfg( test) ]
61
59
mod tests {
62
- use arm :: v8;
60
+ use aarch64 :: v8;
63
61
64
62
#[ test]
65
63
fn _rev_u64 ( ) {
Original file line number Diff line number Diff line change 8
8
//! ihi0073a/IHI0073A_arm_neon_intrinsics_ref.pdf
9
9
//! [arm_dat]: https://developer.arm.com/technologies/neon/intrinsics
10
10
11
+ mod v6;
11
12
pub use self :: v6:: * ;
13
+
14
+ mod v7;
12
15
pub use self :: v7:: * ;
13
- #[ cfg( target_arch = "aarch64" ) ]
14
- pub use self :: v8:: * ;
15
16
16
17
#[ cfg( target_feature = "neon" ) ]
17
- pub use self :: v7_neon:: * ;
18
-
19
- #[ cfg( all( target_arch = "aarch64" , target_feature = "neon" ) ) ]
20
- pub use self :: v8_neon:: * ;
21
-
22
- mod v6;
23
- mod v7;
18
+ mod neon;
24
19
#[ cfg( target_feature = "neon" ) ]
25
- mod v7_neon;
26
-
27
- #[ cfg( target_arch = "aarch64" ) ]
28
- mod v8;
29
- #[ cfg( all( target_arch = "aarch64" , target_feature = "neon" ) ) ]
30
- mod v8_neon;
20
+ pub use self :: neon:: * ;
File renamed without changes.
Original file line number Diff line number Diff line change @@ -144,6 +144,9 @@ pub mod vendor {
144
144
145
145
#[ cfg( any( target_arch = "arm" , target_arch = "aarch64" ) ) ]
146
146
pub use arm:: * ;
147
+
148
+ #[ cfg( target_arch = "aarch64" ) ]
149
+ pub use aarch64:: * ;
147
150
}
148
151
149
152
#[ macro_use]
@@ -160,3 +163,5 @@ mod x86;
160
163
161
164
#[ cfg( any( target_arch = "arm" , target_arch = "aarch64" ) ) ]
162
165
mod arm;
166
+ #[ cfg( target_arch = "aarch64" ) ]
167
+ mod aarch64;
You can’t perform that action at this time.
0 commit comments