diff --git a/src/overloads.rs b/src/overloads.rs index d428d8b..657fe11 100644 --- a/src/overloads.rs +++ b/src/overloads.rs @@ -376,10 +376,12 @@ macro_rules! define_simd_type { } impl [] for [<$ty:upper x $width>] { + #[inline(always)] fn [](&self) -> $underlying { self.0 } + #[inline(always)] fn [](val: $underlying) -> Self { Self(val) } @@ -403,10 +405,12 @@ macro_rules! define_simd_type { } impl [] for [<$ty:upper x $width>] { + #[inline(always)] fn [](&self) -> $underlying { self.0 } + #[inline(always)] fn [](val: $underlying) -> Self { Self(val) } @@ -429,10 +433,12 @@ macro_rules! define_simd_type { } impl [] for [<$ty:upper x $width $suffix >] { + #[inline(always)] fn [](&self) -> $underlying { self.0 } + #[inline(always)] fn [](val: $underlying) -> Self { Self(val) }