Thumb Mode

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
digijohnny
Posts: 63
Joined: Sat Sep 12, 2009 6:08 pm
Contact:

Thumb Mode

Post by digijohnny »

Has anyone noticed any significant speedimprovements with disabling thumb mode with irrlicht?
CuteAlien
Admin
Posts: 9720
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Probably blaming myself now - but what is a thumb mode?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
zet.dp.ua
Posts: 66
Joined: Sat Jul 07, 2007 8:10 am

Post 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 :)
ym1218
Posts: 19
Joined: Mon Jun 15, 2009 3:47 am

Re: Thumb Mode

Post 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
ym1218
Posts: 19
Joined: Mon Jun 15, 2009 3:47 am

Post 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.
zet.dp.ua
Posts: 66
Joined: Sat Jul 07, 2007 8:10 am

Post 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.
Post Reply