Quote Originally Posted by FPK
Regarding speed, what's currently the status? I guess we still need thumb code generation?
AFAICS, speed is pretty good. Compared to gcc similar code, the speed is the same. Main bottleneck was mod/div but in the new rtl I have replaced it with internal GBA BIOS functions. These internal funcitons aren't very optimized (a div operation requires about 60 cycles), so it could be nice to replace it with some more optimized asm code (I have found some asm div routines optimized for gba, but I'm not able to make it working). However, for our initial purposes, the bios one should be good enough.