Fix incorrect cast ordering in arm simd.

This commit is contained in:
Josh Matthews 2020-04-07 12:31:28 -04:00 committed by GitHub
parent f2b668f9d7
commit db205f71d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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))) }
}
}