-
Notifications
You must be signed in to change notification settings - Fork 289
[DRAFT] intrinsics for all architectures appear in rustdoc #1104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
21b4259
Start working on architectures appear in Rustdoc
Byron 8c6fdc5
Don't limit cargo doc unnecessarily
Byron f91d45f
Move arm/crc module to acle/crc as it is shared between ARM and AArch64
Byron dbc0820
Conform moved CRC module to existing conventions; make it appear in docs
Byron d589823
Move arm/crypto to acle/arm_shared
Byron 553e32d
Move acle/sat to arm/ as it is only available there
Byron 75792de
Make 'sat' show up in docs all the time.
Byron 7463267
Move acle/dsp to arm; fix tests by skipping dsp arm functions
Byron 00a0bbd
Make arm/dsp functions show up in docs
Byron 0610bef
Fix use of 'dsp' module within simd32 (it was moved to /arm)
Byron 4a101b8
Move acle/simd32 to arm/simd32; fix tests suite
Byron 3263581
Move arm/neon to acle/neon (soon arm_shared)
Byron 4ae11b3
The code generator now places output in acle.
Byron a63b0d4
Merge remote-tracking branch 'origin/master'
Byron 02de848
Move ARM specific neon functions in acle/neon/… moved to arm/neon.rs
Byron 2a698b1
Merge remote-tracking branch 'origin/master'
Byron 2c48570
Move aarch64/arm neon functions to acle/arm_shared
Byron e22224d
Fix build errors
Byron 306c600
Merge remote-tracking branch 'origin/master'
Byron df00775
pub(crate) fields to allow arm/neon to access types declared in acle…
Byron 3b3caba
Add missing use statements for types
Byron f14ce23
Fix build on ARM
Byron 6be7f85
Merge remote-tracking branch 'origin/master'
Byron f866c0a
Merge remote-tracking branch 'origin/master'
Byron ed04262
Merge remote-tracking branch 'origin/master'
Byron b17be0f
Merge remote-tracking branch 'origin/master'
Byron ff89355
Apply cargo fmt
Byron e201bf4
Apply suggestions from code review
Byron 0f186e3
Apply review suggestions
Byron e8956b7
Merge remote-tracking branch 'origin/master'
Byron bd42df8
move arm::test_support to acle::test_support
Byron f141aa6
Don't ignore unused imports anymore
Byron f2c4eac
Remove all `#[cfg(target_arch = "arm")]` as it's redundant
Byron 8794cae
rename 'acle' to 'arm_shared'
Byron 213aaa9
Move __dbg intrinsic to 'arm' (from arm_shared)
Byron bb176aa
Add target_arch = "aarch64" and doc configs for each function individ…
Byron 230f0be
Fix build?
Byron dc373ed
Split aarch64 parts in arm/armclang.rs into aarch64/armclang.rs
Byron 52eaa8e
Revert "Move __dbg intrinsic to 'arm' (from arm_shared)"
Byron 58ced63
Fix build
Byron 90ccef5
More fixes
Amanieu e1b4810
More fixes
Amanieu 749ee37
Ignore some intrinsic tests
Amanieu de7ce7f
More fixes
Amanieu 7abb5d9
More fixes
Amanieu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//! ARM compiler specific intrinsics | ||
//! | ||
//! # References | ||
//! | ||
//! - [ARM Compiler v 6.10 - armclang Reference Guide][arm_comp_ref] | ||
//! | ||
//! [arm_comp_ref]: https://developer.arm.com/docs/100067/0610 | ||
|
||
#[cfg(test)] | ||
use stdarch_test::assert_instr; | ||
|
||
/// Inserts a breakpoint instruction. | ||
/// | ||
/// `VAL` is a compile-time constant integer in range `[0, 65535]`. | ||
/// | ||
/// The breakpoint instruction inserted is `BRK` on A64. | ||
#[cfg_attr(test, assert_instr(brk, VAL = 0))] | ||
#[inline(always)] | ||
#[rustc_legacy_const_generics(0)] | ||
pub unsafe fn __breakpoint<const VAL: i32>() { | ||
static_assert_imm16!(VAL); | ||
asm!("brk {}", const VAL); | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the
cfg
below.