File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ mod x86;
21
21
#[ cfg( any( target_arch = "wasm32" ) ) ]
22
22
mod wasm32;
23
23
24
- #[ cfg( any( target_arch = "arm" , target_arch = "aarch64" ) ) ]
24
+ #[ cfg( any(
25
+ target_arch = "aarch64" ,
26
+ all( target_arch = "arm" , target_feature = "v7" )
27
+ ) ) ]
25
28
mod arm;
26
29
27
30
#[ cfg( any( target_arch = "powerpc" , target_arch = "powerpc64" ) ) ]
Original file line number Diff line number Diff line change 1
1
use crate :: simd:: * ;
2
2
3
- #[ cfg( target_arch = "arm" ) ]
3
+ #[ cfg( all ( target_arch = "arm" , target_feature = "v7" ) ) ]
4
4
use core:: arch:: arm:: * ;
5
5
6
6
#[ cfg( target_arch = "aarch64" ) ]
@@ -35,7 +35,7 @@ from_transmute! { unsafe i64x2 => int64x2_t }
35
35
from_transmute ! { unsafe Simd <u64 , 1 > => poly64x1_t }
36
36
from_transmute ! { unsafe u64x2 => poly64x2_t }
37
37
38
- #[ cfg( target_arch = "arm" ) ]
38
+ #[ cfg( all ( target_arch = "arm" , target_feature = "v7" ) ) ]
39
39
mod arm {
40
40
use super :: * ;
41
41
from_transmute ! { unsafe Simd <u8 , 4 > => uint8x4_t }
You can’t perform that action at this time.
0 commit comments