From db205f71d613d68efc262a1b73be252c6af4e5d8 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Tue, 7 Apr 2020 12:31:28 -0400 Subject: [PATCH] Fix incorrect cast ordering in arm simd. --- simd/src/arm/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simd/src/arm/mod.rs b/simd/src/arm/mod.rs index 7fb7719c..8a111ccf 100644 --- a/simd/src/arm/mod.rs +++ b/simd/src/arm/mod.rs @@ -332,7 +332,7 @@ impl F32x4 { /// Converts these packed floats to integers via rounding. #[inline] pub fn to_i32x4(self) -> I32x4 { - unsafe { I32x4(round_v4f32(simd_cast(self.0))) } + unsafe { I32x4(simd_cast(round_v4f32(self.0))) } } }