Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions simd/src/arm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ impl F32x2 {

#[inline]
pub fn min(self, other: F32x2) -> F32x2 {
unsafe { F32x2(simd_fmin(self.0, other.0)) }
unsafe { F32x2(simd_minimum_number_nsz(self.0, other.0)) }
}

#[inline]
pub fn max(self, other: F32x2) -> F32x2 {
unsafe { F32x2(simd_fmax(self.0, other.0)) }
unsafe { F32x2(simd_maximum_number_nsz(self.0, other.0)) }
}

#[inline]
Expand Down Expand Up @@ -268,12 +268,12 @@ impl F32x4 {

#[inline]
pub fn min(self, other: F32x4) -> F32x4 {
unsafe { F32x4(simd_fmin(self.0, other.0)) }
unsafe { F32x4(simd_minimum_number_nsz(self.0, other.0)) }
}

#[inline]
pub fn max(self, other: F32x4) -> F32x4 {
unsafe { F32x4(simd_fmax(self.0, other.0)) }
unsafe { F32x4(simd_maximum_number_nsz(self.0, other.0)) }
}

#[inline]
Expand Down Expand Up @@ -604,12 +604,12 @@ impl I32x4 {

#[inline]
pub fn max(self, other: I32x4) -> I32x4 {
unsafe { I32x4(simd_cast(simd_fmax(self.to_f32x4().0, other.to_f32x4().0))) }
unsafe { I32x4(simd_cast(simd_maximum_number_nsz(self.to_f32x4().0, other.to_f32x4().0))) }
}

#[inline]
pub fn min(self, other: I32x4) -> I32x4 {
unsafe { I32x4(simd_cast(simd_fmin(self.to_f32x4().0, other.to_f32x4().0))) }
unsafe { I32x4(simd_cast(simd_minimum_number_nsz(self.to_f32x4().0, other.to_f32x4().0))) }
}

// Packed comparisons
Expand Down
Loading