mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-29 05:11:31 +00:00
![bors[bot]](/assets/img/avatar_default.png)
1372: rp: add division intrinsics r=Dirbaio a=pennae rp2040-hal adds division intrinsics using the hardware divider unit in the SIO, as does the pico-sdk itself. using the hardware is faster than the compiler_rt implementations, and more compact too. since embassy does not expose the hardware divider in any way (yet?) we could go even further an remove the state-saving code rp2040-hal needs, but that doesn't seem to be worth it. Co-authored-by: pennae <github@quasiparticle.net>