Skip to content

Commit

Permalink
Merge pull request #466 from Patryk27/avr
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu authored May 24, 2022
2 parents 562362b + 83b996d commit 32c0477
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/int/udiv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ intrinsics! {
// Note: we use block configuration and not `if cfg!(...)`, because we need to entirely disable
// the existence of `u128_div_rem` to get 32-bit SPARC to compile, see `u128_divide_sparc` docs.

#[avr_skip]
#[win64_128bit_abi_hack]
/// Returns `n / d`
pub extern "C" fn __udivti3(n: u128, d: u128) -> u128 {
Expand All @@ -68,6 +69,7 @@ intrinsics! {
}
}

#[avr_skip]
#[win64_128bit_abi_hack]
/// Returns `n % d`
pub extern "C" fn __umodti3(n: u128, d: u128) -> u128 {
Expand Down

0 comments on commit 32c0477

Please sign in to comment.