Page 1 of 1

Thumb Mode

Posted: Sat Nov 28, 2009 3:27 am
by digijohnny
Has anyone noticed any significant speedimprovements with disabling thumb mode with irrlicht?

Posted: Sat Nov 28, 2009 3:08 pm
by CuteAlien
Probably blaming myself now - but what is a thumb mode?

Posted: Sat Nov 28, 2009 5:34 pm
by zet.dp.ua
It was about 10-20% faster for me, but with -O2 or -O3 i had some "over-optimization" problems. Generally it is recommended to disable thumb mode for intensive floating point operations, but it makes binaries bigger.
Suppose we are talking about iphone+xcode :)

Re: Thumb Mode

Posted: Thu Dec 03, 2009 5:34 am
by ym1218
digijohnny wrote:Has anyone noticed any significant speedimprovements with disabling thumb mode with irrlicht?
here is a good reference
http://gamesfromwithin.com/360idev-cran ... ance-to-11

Posted: Thu Dec 03, 2009 5:37 am
by ym1218
zet.dp.ua wrote:It was about 10-20% faster for me, but with -O2 or -O3 i had some "over-optimization" problems. Generally it is recommended to disable thumb mode for intensive floating point operations, but it makes binaries bigger.
Suppose we are talking about iphone+xcode :)
I tested in my ipod touch 3, it was about 30% faster.
I met the same problems about optimization.

Posted: Thu Dec 03, 2009 8:20 am
by zet.dp.ua
Yes, matrix, vector operations can recieve great performance boost. I'm just using heavily modified for 2d casual games Irrlicht engine. Everyone has to play with compiler's options to achieve the best performance/stability.