Skip to content

Commit

Permalink
fix: Add #[avr_skip] for __addsf3 & __adddf3
Browse files Browse the repository at this point in the history
It looks like I've forgotten about them [back in 2023](rust-lang#527).
  • Loading branch information
Patryk27 committed May 4, 2024
1 parent ab63499 commit 5837989
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/float/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,14 @@ where
}

intrinsics! {
#[avr_skip]
#[aapcs_on_arm]
#[arm_aeabi_alias = __aeabi_fadd]
pub extern "C" fn __addsf3(a: f32, b: f32) -> f32 {
add(a, b)
}

#[avr_skip]
#[aapcs_on_arm]
#[arm_aeabi_alias = __aeabi_dadd]
pub extern "C" fn __adddf3(a: f64, b: f64) -> f64 {
Expand Down

0 comments on commit 5837989

Please sign in to comment.