Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What operations are particularly slow on the ARM processor?

0
Posted

What operations are particularly slow on the ARM processor?

0

Division and modulus. The ARM has no division instruction so these are painfully slow. Whenever possible, use >> (right shift) or multiply by the reciprocal instead. If you absolutely need to use division then use the routines in the GBA BIOS. One report has the BIOS divison code operating ~2.5x faster than GCC division.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123