Skip to content

Commit 13051ed

Browse files
committed
Add __truncdfsf2vfp for ARM
1 parent 080f1fa commit 13051ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/float/trunc.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,9 @@ intrinsics! {
116116
pub extern "C" fn __truncdfsf2(a: f64) -> f32 {
117117
trunc(a)
118118
}
119+
120+
#[cfg(target_arch = "arm")]
121+
pub extern "C" fn __truncdfsf2vfp(a: f64) -> f32 {
122+
a as f32
123+
}
119124
}

0 commit comments

Comments
 (0)