On 2 Aug 2002 at 13:41, Szabo Ferenc wrote:
> Hi,
>
> As I know, the modulo (x%y) and division (x/y) instructions are fairly slow on
GBA.
> Are there any other instructions or program sequences to avoid on GBA
(especially in Vblan kinterrupt)?
> If yes, do you know alternative methods (like bit shifting to increase the
speed of multiplying by 2,4,8...) for them?
Square root. I think on devrs.com there's a link to page with tricks for fast
sqrt. Frankly saying for the present I'm using the BIOS one, but now I wonder --
did anyone make
any tests if it's faster than hand-optimized routines?
--
- Maciej Sinilo