Yogg Sources And Gcc 3.4


mth411

Active Member
Joined
Sep 29, 2003
Messages
510
At http://perso.wanadoo.fr/yoyosan/yogg/index.html you can find the sources for yogg (the ogg vorbis player). Is there any chance that simply recompiling them under gcc 3.4 would allow a slower clock speed and the same results. Like running it stably at 66mhz instead of 90mhz.

Right now, it runs at 133 Mhz for overkill stability (meaning 6-8 hour battery life instead of 10-14 hour battery life at 66mhz) Just rough numbers from gpdoom.

mth411

PS Probably not, as yogg uses tremor, fixed point library and gcc 3.4 improves floating point optimizations, right?
 
You're exactly right, Tremor uses fixed point so gcc-3.4 won't make a huge difference to it.

However, each new gcc version performs a little better than the last, and so you may see some improvement. See the gcc changelog, the new/improved optimisations (especially the new -funit-at-a-time) could make the code faster. Probably not enough to go to 66MHz from 90MHz, but maybe to get down to 85MHz or so.

It's worth a try!
 
Back
Top