Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

generate docs for Cortex-M / Cortex-R intrinsics #536

Merged
merged 1 commit into from
Jul 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions coresimd/arm/cmsis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ pub unsafe fn __set_PRIMASK(pri_mask: u32) {
asm!("msr PRIMASK, $0" : : "r"(pri_mask) : : "volatile");
}

#[cfg(target_feature = "v7")]
#[cfg(any(target_feature = "v7", dox))]
mod v7 {
/// Enable FIQ
///
Expand Down Expand Up @@ -245,7 +245,7 @@ mod v7 {
}
}

#[cfg(target_feature = "v7")]
#[cfg(any(target_feature = "v7", dox))]
pub use self::v7::*;

/* Core instruction access */
Expand Down
8 changes: 4 additions & 4 deletions coresimd/arm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//! [arm_dat]: https://developer.arm.com/technologies/neon/intrinsics
#![allow(non_camel_case_types)]

#[cfg(target_feature = "mclass")]
#[cfg(any(target_feature = "mclass", dox))]
mod cmsis;
#[cfg(target_feature = "mclass")]
#[cfg(any(target_feature = "mclass", dox))]
pub use self::cmsis::*;

mod v6;
Expand All @@ -20,9 +20,9 @@ mod v7;
#[cfg(any(target_arch = "aarch64", target_feature = "v7"))]
pub use self::v7::*;

#[cfg(all(target_feature = "v7", not(target_feature = "mclass")))]
#[cfg(any(all(target_feature = "v7", not(target_feature = "mclass")), dox))]
mod dsp;
#[cfg(all(target_feature = "v7", not(target_feature = "mclass")))]
#[cfg(any(all(target_feature = "v7", not(target_feature = "mclass")), dox))]
pub use self::dsp::*;

// NEON is supported on AArch64, and on ARM when built with the v7 and neon
Expand Down