Skip to content

Commit 93d1e6a

Browse files
JamesbarfordAmanieu
authored andcommitted
fix: always inline signed conversions
1 parent 713444d commit 93d1e6a

File tree

1 file changed

+2
-2
lines changed
  • crates/core_arch/src/arm_shared/neon

1 file changed

+2
-2
lines changed

Diff for: crates/core_arch/src/arm_shared/neon/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ macro_rules! impl_sign_conversions_neon {
2626
impl AsUnsigned for $signed {
2727
type Unsigned = $unsigned;
2828

29-
#[inline]
29+
#[inline(always)]
3030
fn as_unsigned(self) -> $unsigned {
3131
unsafe { transmute(self) }
3232
}
@@ -35,7 +35,7 @@ macro_rules! impl_sign_conversions_neon {
3535
impl AsSigned for $unsigned {
3636
type Signed = $signed;
3737

38-
#[inline]
38+
#[inline(always)]
3939
fn as_signed(self) -> $signed {
4040
unsafe { transmute(self) }
4141
}

0 commit comments

Comments
 (0)