Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions crates/core_arch/src/arm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,9 @@ mod v7;
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
pub use self::v7::*;

// NEON is supported on AArch64, and on ARM when built with the v7 and neon
// features. Building ARM without neon produces incorrect codegen.
#[cfg(any(
target_arch = "aarch64",
all(target_feature = "v7", target_feature = "neon"),
dox
))]
#[cfg(any(target_arch = "aarch64", target_feature = "v7", dox))]
mod neon;
#[cfg(any(
target_arch = "aarch64",
all(target_feature = "v7", target_feature = "neon"),
dox
))]
#[cfg(any(target_arch = "aarch64", target_feature = "v7", dox))]
pub use self::neon::*;

#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
Expand Down