Add __truncdfsf2vfp for ARM
This commit is contained in:
parent
39cd6082e4
commit
03b4f62337
1 changed files with 5 additions and 0 deletions
|
|
@ -116,4 +116,9 @@ intrinsics! {
|
|||
pub extern "C" fn __truncdfsf2(a: f64) -> f32 {
|
||||
trunc(a)
|
||||
}
|
||||
|
||||
#[cfg(target_arch = "arm")]
|
||||
pub extern "C" fn __truncdfsf2vfp(a: f64) -> f32 {
|
||||
a as f32
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue