We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af7c166 commit 8b84dc4Copy full SHA for 8b84dc4
coresimd/arm/armclang.rs
@@ -4,6 +4,9 @@
4
//!
5
//! - [ARM Compiler v 6.10 - armclang Reference Guide](https://developer.arm.com/docs/100067/0610)
6
7
+#[cfg(test)]
8
+use stdsimd_test::assert_instr;
9
+
10
/// This intrinsic inserts a BKPT instruction into the instruction stream generated by the compiler
11
///
12
/// It enables you to include a breakpoint instruction in your Rust code
@@ -16,7 +19,7 @@
16
19
/// [ARM's documentation](https://developer.arm.com/docs/100067/latest/compiler-specific-intrinsics/__breakpoint-intrinsic)
17
20
18
21
/// **NOTE** Due compiler limitations this function only supports the range `0...255` in A32 mode.
-#[cfg_attr(test, assert_instr(bkpt))]
22
+#[cfg_attr(test, assert_instr(bkpt, val = 0))]
23
#[inline(always)]
24
#[rustc_args_required_const(0)]
25
pub unsafe fn __breakpoint(val: i32) {
0 commit comments