Use inline assembly for Arm64EC
This commit is contained in:
parent
b3da7c7b6f
commit
ddba655db7
2 changed files with 2 additions and 3 deletions
|
|
@ -101,8 +101,6 @@ pub unsafe fn __yield() {
|
|||
/// those that do, it is unspecified whether this intrinsic generates it or
|
||||
/// another instruction. It is not guaranteed that inserting this instruction
|
||||
/// will increase execution time.
|
||||
// Inline ASM is not support on ARM64EC yet.
|
||||
#[cfg(not(target_arch = "arm64ec"))]
|
||||
#[inline(always)]
|
||||
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
|
||||
pub unsafe fn __nop() {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@
|
|||
asm_const,
|
||||
target_feature_11,
|
||||
inline_const,
|
||||
generic_arg_infer
|
||||
generic_arg_infer,
|
||||
asm_experimental_arch
|
||||
)]
|
||||
#![cfg_attr(test, feature(test, abi_vectorcall, stdarch_internal))]
|
||||
#![deny(clippy::missing_inline_in_public_items)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue