feat: fix something
This commit is contained in:
@@ -71,7 +71,7 @@ macro_rules! impl_vector4 {
|
|||||||
#[cfg(feature = "simd")]
|
#[cfg(feature = "simd")]
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn shuffle_left_1(self) -> Self {
|
fn shuffle_left_1(self) -> Self {
|
||||||
use simdint::simd_shuffle4;
|
use crate::simdint::simd_shuffle4;
|
||||||
unsafe { simd_shuffle4(self, self, [1, 2, 3, 0]) }
|
unsafe { simd_shuffle4(self, self, [1, 2, 3, 0]) }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ macro_rules! impl_vector4 {
|
|||||||
#[cfg(feature = "simd")]
|
#[cfg(feature = "simd")]
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn shuffle_left_2(self) -> Self {
|
fn shuffle_left_2(self) -> Self {
|
||||||
use simdint::simd_shuffle4;
|
use crate::simdint::simd_shuffle4;
|
||||||
unsafe { simd_shuffle4(self, self, [2, 3, 0, 1]) }
|
unsafe { simd_shuffle4(self, self, [2, 3, 0, 1]) }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ macro_rules! impl_vector4 {
|
|||||||
#[cfg(feature = "simd")]
|
#[cfg(feature = "simd")]
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn shuffle_left_3(self) -> Self {
|
fn shuffle_left_3(self) -> Self {
|
||||||
use simdint::simd_shuffle4;
|
use crate::simdint::simd_shuffle4;
|
||||||
unsafe { simd_shuffle4(self, self, [3, 0, 1, 2]) }
|
unsafe { simd_shuffle4(self, self, [3, 0, 1, 2]) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user