__[mul/div]sf3vfp and __[mul/div]df3vfp only on ARM
This commit is contained in:
parent
8f018562ca
commit
f42b9e0bad
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user