Skip to content

Commit

Permalink
acle/simd32: also expose on the A profile
Browse files Browse the repository at this point in the history
addresses #557 (comment)
  • Loading branch information
japaric authored and gnzlbg committed Feb 18, 2019
1 parent 23e51e4 commit dcbf501
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/core_arch/src/acle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down

0 comments on commit dcbf501

Please sign in to comment.