__[mul/div]sf3vfp and __[mul/div]df3vfp only on ARM

master
Paolo Teti 2018-01-30 18:48:20 +01:00
parent 8f018562ca
commit f42b9e0bad
2 changed files with 4 additions and 0 deletions

View File

@ -454,10 +454,12 @@ intrinsics! {
div64(a, b)
}
#[cfg(target_arch = "arm")]
pub extern "C" fn __divsf3vfp(a: f32, b: f32) -> f32 {
a / b
}
#[cfg(target_arch = "arm")]
pub extern "C" fn __divdf3vfp(a: f64, b: f64) -> f64 {
a / b
}

View File

@ -189,10 +189,12 @@ intrinsics! {
mul(a, b)
}
#[cfg(target_arch = "arm")]
pub extern "C" fn __mulsf3vfp(a: f32, b: f32) -> f32 {
a * b
}
#[cfg(target_arch = "arm")]
pub extern "C" fn __muldf3vfp(a: f64, b: f64) -> f64 {
a * b
}