Skip to content

Commit 56937d2

Browse files
committed
Fix doc builds
1 parent fe3f33d commit 56937d2

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

coresimd/ppsv/v128.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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"))]
9495
use coresimd::arch::arm::{// FIXME: float16x8_t,
9596
float32x4_t,
9697
int16x8_t,
@@ -121,7 +122,9 @@ use coresimd::arch::aarch64::{// FIXME: float16x8_t,
121122

122123
macro_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,

coresimd/ppsv/v64.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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"))]
7475
use coresimd::arch::arm::{// FIXME: float16x4_t,
7576
float32x2_t,
7677
int16x4_t,
@@ -101,7 +102,9 @@ use coresimd::arch::aarch64::{// FIXME: float16x4_t,
101102

102103
macro_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,

0 commit comments

Comments
 (0)