Skip to content

Remove requirement on neon feature for arm #893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 7, 2020
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