acle/simd32: also expose on the A profile

addresses https://github.com/rust-lang-nursery/stdsimd/pull/557#discussion_r255253933
This commit is contained in:
Jorge Aparicio 2019-02-13 18:35:26 +01:00 committed by gnzlbg
parent 95a146e285
commit 6ea932d2fe

View file

@ -86,17 +86,17 @@ mod dsp;
pub use self::dsp::*;
// Deprecated in ACLE 2.0 for the A profile but fully supported on the M and R profiles, says
// Section 5.4.9 of ACLE.
// Section 5.4.9 of ACLE. We'll expose these for the A profile even if deprecated
#[cfg(any(
// v7-R
target_feature = "rclass",
// v7-A, v7-R
all(target_feature = "v6", not(target_feature = "mclass")),
// v7E-M
all(target_feature = "mclass", target_feature = "dsp")
))]
mod simd32;
#[cfg(any(
target_feature = "rclass",
all(target_feature = "v6", not(target_feature = "mclass")),
all(target_feature = "mclass", target_feature = "dsp")
))]
pub use self::simd32::*;