diff --git a/src/float/div.rs b/src/float/div.rs index 8c4cf55b..d587fe4f 100644 --- a/src/float/div.rs +++ b/src/float/div.rs @@ -902,11 +902,13 @@ where } intrinsics! { + #[avr_skip] #[arm_aeabi_alias = __aeabi_fdiv] pub extern "C" fn __divsf3(a: f32, b: f32) -> f32 { div32(a, b) } + #[avr_skip] #[arm_aeabi_alias = __aeabi_ddiv] pub extern "C" fn __divdf3(a: f64, b: f64) -> f64 { div64(a, b) diff --git a/src/float/extend.rs b/src/float/extend.rs index cffc5751..0e6673b9 100644 --- a/src/float/extend.rs +++ b/src/float/extend.rs @@ -70,6 +70,7 @@ where } intrinsics! { + #[avr_skip] #[aapcs_on_arm] #[arm_aeabi_alias = __aeabi_f2d] pub extern "C" fn __extendsfdf2(a: f32) -> f64 { diff --git a/src/float/mul.rs b/src/float/mul.rs index 1b8c6120..378fa970 100644 --- a/src/float/mul.rs +++ b/src/float/mul.rs @@ -185,12 +185,14 @@ where } intrinsics! { + #[avr_skip] #[aapcs_on_arm] #[arm_aeabi_alias = __aeabi_fmul] pub extern "C" fn __mulsf3(a: f32, b: f32) -> f32 { mul(a, b) } + #[avr_skip] #[aapcs_on_arm] #[arm_aeabi_alias = __aeabi_dmul] pub extern "C" fn __muldf3(a: f64, b: f64) -> f64 { diff --git a/src/float/pow.rs b/src/float/pow.rs index 0232ef40..3103fe6f 100644 --- a/src/float/pow.rs +++ b/src/float/pow.rs @@ -26,10 +26,12 @@ fn pow(a: F, b: i32) -> F { } intrinsics! { + #[avr_skip] pub extern "C" fn __powisf2(a: f32, b: i32) -> f32 { pow(a, b) } + #[avr_skip] pub extern "C" fn __powidf2(a: f64, b: i32) -> f64 { pow(a, b) } diff --git a/src/float/sub.rs b/src/float/sub.rs index 0ea071b3..64653ee2 100644 --- a/src/float/sub.rs +++ b/src/float/sub.rs @@ -3,11 +3,13 @@ use crate::float::add::__addsf3; use crate::float::Float; intrinsics! { + #[avr_skip] #[arm_aeabi_alias = __aeabi_fsub] pub extern "C" fn __subsf3(a: f32, b: f32) -> f32 { __addsf3(a, f32::from_repr(b.repr() ^ f32::SIGN_MASK)) } + #[avr_skip] #[arm_aeabi_alias = __aeabi_dsub] pub extern "C" fn __subdf3(a: f64, b: f64) -> f64 { __adddf3(a, f64::from_repr(b.repr() ^ f64::SIGN_MASK)) diff --git a/src/float/trunc.rs b/src/float/trunc.rs index 9bc4d6e5..0beeb9f9 100644 --- a/src/float/trunc.rs +++ b/src/float/trunc.rs @@ -112,6 +112,7 @@ where } intrinsics! { + #[avr_skip] #[aapcs_on_arm] #[arm_aeabi_alias = __aeabi_d2f] pub extern "C" fn __truncdfsf2(a: f64) -> f32 {