Mark the neon intrinsics as inline(always).

The inline(always) attribute is now applied to the call site when a
function has target features enabled so that it can determine that the
call is safe to inline.
This commit is contained in:
Jamie Cunliffe 2025-12-09 16:33:40 +00:00
parent f9e6d4bc20
commit 78952f6aaa
4 changed files with 5213 additions and 5212 deletions

File diff suppressed because it is too large Load diff

View file

@ -32,6 +32,7 @@
x86_amx_intrinsics,
f16,
aarch64_unstable_target_feature,
target_feature_inline_always,
bigint_helper_methods,
funnel_shifts,
avx10_target_feature,

View file

@ -1736,7 +1736,7 @@ fn create_tokens(intrinsic: &Intrinsic, endianness: Endianness, tokens: &mut Tok
);
}
tokens.append_all(quote! { #[inline] });
tokens.append_all(quote! { #[inline(always)] });
match endianness {
Endianness::Little => tokens.append_all(quote! { #[cfg(target_endian = "little")] }),