Skip to content

Commit 52d32dd

Browse files
japaricgnzlbg
authored andcommitted
acle/dsp: make available on the A profile
1 parent dcbf501 commit 52d32dd

File tree

1 file changed

+3
-7
lines changed
  • crates/core_arch/src/acle

1 file changed

+3
-7
lines changed

crates/core_arch/src/acle/mod.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,18 @@ mod registers;
6565
pub use self::registers::*;
6666

6767
// Supported arches: 5TE, 7E-M. See Section 10.1 of ACLE (e.g. QADD)
68-
// But we also exclude the A profile because DSP is deprecated on that profile as of ACLE 2.0 (see
68+
// We also include the A profile even though DSP is deprecated on that profile as of ACLE 2.0 (see
6969
// section 5.4.7)
7070
#[cfg(any(
7171
// >= v5TE but excludes v7-A
72-
all(target_feature = "v5te", not(target_feature = "mclass"), not(target_feature = "aclass")),
72+
all(target_feature = "v5te", not(target_feature = "mclass")),
7373
// v7E-M
7474
all(target_feature = "mclass", target_feature = "dsp"),
7575
))]
7676
mod dsp;
7777

7878
#[cfg(any(
79-
all(
80-
target_feature = "v5te",
81-
not(target_feature = "mclass"),
82-
not(target_feature = "aclass")
83-
),
79+
all(target_feature = "v5te", not(target_feature = "mclass")),
8480
all(target_feature = "mclass", target_feature = "dsp"),
8581
))]
8682
pub use self::dsp::*;

0 commit comments

Comments
 (0)