Remove requirement on neon feature for arm (#893)

This commit is contained in:
Caleb Zulawski 2020-09-06 20:47:04 -04:00 committed by GitHub
parent b11ca63e7b
commit 63af5f371c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"))]