Skip to content

Commit dcbf501

Browse files
japaricgnzlbg
authored andcommitted
acle/simd32: also expose on the A profile
addresses #557 (comment)
1 parent 23e51e4 commit dcbf501

File tree

1 file changed

+4
-4
lines changed
  • crates/core_arch/src/acle

1 file changed

+4
-4
lines changed

crates/core_arch/src/acle/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,17 @@ mod dsp;
8686
pub use self::dsp::*;
8787

8888
// Deprecated in ACLE 2.0 for the A profile but fully supported on the M and R profiles, says
89-
// Section 5.4.9 of ACLE.
89+
// Section 5.4.9 of ACLE. We'll expose these for the A profile even if deprecated
9090
#[cfg(any(
91-
// v7-R
92-
target_feature = "rclass",
91+
// v7-A, v7-R
92+
all(target_feature = "v6", not(target_feature = "mclass")),
9393
// v7E-M
9494
all(target_feature = "mclass", target_feature = "dsp")
9595
))]
9696
mod simd32;
9797

9898
#[cfg(any(
99-
target_feature = "rclass",
99+
all(target_feature = "v6", not(target_feature = "mclass")),
100100
all(target_feature = "mclass", target_feature = "dsp")
101101
))]
102102
pub use self::simd32::*;

0 commit comments

Comments
 (0)