We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9cf9966 + 1ed6cc8 commit 2f9bc39Copy full SHA for 2f9bc39
2 files changed
crates/core_arch/src/arm_shared/hints.rs
@@ -83,8 +83,11 @@ pub unsafe fn __sevl() {
83
/// improve overall system performance.
84
// Section 10.1 of ACLE says that the supported arches are: 8, 6K, 6-M
85
// LLVM says "instruction requires: armv6k"
86
+// On ARMv6 in Thumb mode, T2 is required (see Arm DDI0406C Section A8.8.427)
87
#[cfg(any(
- target_feature = "v6",
88
+ all(target_feature = "v6k", not(target_feature = "thumb-mode")),
89
+ target_feature = "v6t2",
90
+ all(target_feature = "v6", target_feature = "mclass"),
91
target_arch = "aarch64",
92
target_arch = "arm64ec",
93
doc
rust-version
@@ -1 +1 @@
1
-48622726c4a91c87bf6cd4dbe1000c95df59906e
+873d4682c7d285540b8f28bfe637006cef8918a6
0 commit comments