feat: fix something

This commit is contained in:
2023-10-20 00:11:06 +08:00
parent 2e48e5d18d
commit 0ac3785f90

View File

@@ -71,7 +71,7 @@ macro_rules! impl_vector4 {
#[cfg(feature = "simd")]
#[inline(always)]
fn shuffle_left_1(self) -> Self {
use simdint::simd_shuffle4;
use crate::simdint::simd_shuffle4;
unsafe { simd_shuffle4(self, self, [1, 2, 3, 0]) }
}
@@ -84,7 +84,7 @@ macro_rules! impl_vector4 {
#[cfg(feature = "simd")]
#[inline(always)]
fn shuffle_left_2(self) -> Self {
use simdint::simd_shuffle4;
use crate::simdint::simd_shuffle4;
unsafe { simd_shuffle4(self, self, [2, 3, 0, 1]) }
}
@@ -97,7 +97,7 @@ macro_rules! impl_vector4 {
#[cfg(feature = "simd")]
#[inline(always)]
fn shuffle_left_3(self) -> Self {
use simdint::simd_shuffle4;
use crate::simdint::simd_shuffle4;
unsafe { simd_shuffle4(self, self, [3, 0, 1, 2]) }
}