File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
crates/core_arch/src/acle Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,11 @@ pub unsafe fn __yield() {
7272/// for the effect (if any) of this instruction and the meaning of the
7373/// argument. This is available only when compliling for AArch32.
7474// Section 10.1 of ACLE says that the supported arches are: 7, 7-M
75- // LLVM says "instruction requires: thumb2" OR "instruction requires: armv7"
76- #[ cfg( target_feature = "v6t2" ) ]
75+ // "The DBG hint instruction is added in ARMv7. It is UNDEFINED in the ARMv6 base architecture, and
76+ // executes as a NOP instruction in ARMv6K and ARMv6T2." - ARM Architecture Reference Manual ARMv7-A
77+ // and ARMv7-R edition (ARM DDI 0406C.c) sections D12.4.1 "ARM instruction set support" and D12.4.2
78+ // "Thumb instruction set support"
79+ #[ cfg( target_feature = "v7" ) ]
7780#[ inline( always) ]
7881#[ rustc_args_required_const( 0 ) ]
7982pub unsafe fn __dbg ( imm4 : u32 ) {
You can’t perform that action at this time.
0 commit comments