mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-05-13 09:04:27 +00:00
Due to divmod performing division by subtracting in a linear loop, it's *really* slow. When performing division with larger numbers (like 32-bit addresses), it goes thru massive amounts of iterations and causes a stall-like appearance. Instead, let the compiler handle it by using cpu instructions like UDIV/MSUB for armv8. Fixes #86.