File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ mod x86;
2121#[ cfg( any( target_arch = "wasm32" ) ) ]
2222mod wasm32;
2323
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+ ) ) ]
2528mod arm;
2629
2730#[ cfg( any( target_arch = "powerpc" , target_arch = "powerpc64" ) ) ]
Original file line number Diff line number Diff line change 11use crate :: simd:: * ;
22
3- #[ cfg( target_arch = "arm" ) ]
3+ #[ cfg( all ( target_arch = "arm" , target_feature = "v7" ) ) ]
44use core:: arch:: arm:: * ;
55
66#[ cfg( target_arch = "aarch64" ) ]
@@ -35,7 +35,7 @@ from_transmute! { unsafe i64x2 => int64x2_t }
3535from_transmute ! { unsafe Simd <u64 , 1 > => poly64x1_t }
3636from_transmute ! { unsafe u64x2 => poly64x2_t }
3737
38- #[ cfg( target_arch = "arm" ) ]
38+ #[ cfg( all ( target_arch = "arm" , target_feature = "v7" ) ) ]
3939mod arm {
4040 use super :: * ;
4141 from_transmute ! { unsafe Simd <u8 , 4 > => uint8x4_t }
You can’t perform that action at this time.
0 commit comments