File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ macro_rules! from_bits_x86 {
9090 } ;
9191}
9292
93- #[ cfg( all( target_arch = "arm" , target_feature = "v7" ) ) ]
93+ #[ cfg( all( target_arch = "arm" , target_feature = "neon" ,
94+ target_feature = "v7" ) ) ]
9495use coresimd:: arch:: arm:: { // FIXME: float16x8_t,
9596 float32x4_t,
9697 int16x8_t,
@@ -121,7 +122,9 @@ use coresimd::arch::aarch64::{// FIXME: float16x8_t,
121122
122123macro_rules! from_bits_arm {
123124 ( $id: ident, $elem_ty: ident, $test_mod_arm: ident, $test_mod_a64: ident) => {
124- #[ cfg( any( all( target_arch = "arm" , target_feature = "v7" ) , target_arch = "aarch64" ) ) ]
125+ #[ cfg( any( all( target_arch = "arm" ,
126+ target_feature = "neon" ,
127+ target_feature = "v7" ) , target_arch = "aarch64" ) ) ]
125128 impl_from_bits_!(
126129 $id:
127130 int8x16_t,
Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ macro_rules! from_bits_x86 {
7070 } ;
7171}
7272
73- #[ cfg( all( target_arch = "arm" , target_feature = "v7" ) ) ]
73+ #[ cfg( all( target_arch = "arm" , target_feature = "neon" ,
74+ target_feature = "v7" ) ) ]
7475use coresimd:: arch:: arm:: { // FIXME: float16x4_t,
7576 float32x2_t,
7677 int16x4_t,
@@ -101,7 +102,9 @@ use coresimd::arch::aarch64::{// FIXME: float16x4_t,
101102
102103macro_rules! from_bits_arm {
103104 ( $id: ident, $elem_ty: ident, $test_mod_arm: ident, $test_mod_a64: ident) => {
104- #[ cfg( any( all( target_arch = "arm" , target_feature = "v7" ) , target_arch = "aarch64" ) ) ]
105+ #[ cfg( any( all( target_arch = "arm" ,
106+ target_feature = "neon" ,
107+ target_feature = "v7" ) , target_arch = "aarch64" ) ) ]
105108 impl_from_bits_!(
106109 $id:
107110 int64x1_t,
You can’t perform that action at this time.
0 commit comments