[Scummvm-devel] Memory consumption in GUI branch

Robin Watts scummvm at wss.co.uk
Sat Oct 25 18:23:23 CEST 2008


In message <48F08B15.5020309 at millstone.demon.co.uk>
          Neil Millstone <neil at millstone.demon.co.uk> wrote:
> The code growth you mentioned does sound a little worrying, if the
> same is seen on the DS build (ARM code tends to have quite poor
> code density) then ScummVM is unlikely to run properly anymore, but
> as you said, only a single bit format is used for the GUI, so that
> should help.

I've just rebuilt DS scummvm here, and the standard ARM build (a
cleanish trunk) comes out to 1627712 bytes. If I enable thumb mode
during the build (and tweak various ARM routines to cope with being
called in thumb mode - will commit those fixes in a bit), the code
size drops to 1349696 bytes.

There will be a speed penalty of course, but hopefully we can tweak
the compile so that speed critical bits stay in ARM ?

Robin
-- 
Robin Watts,             Email: <mailto:Robin.Watts at wss.co.uk>
Warm Silence Software,   WWW:   <http://www.wss.co.uk/>
P.O.Box 28, Woodstock,   Tel:   01608 737172 (or Mobile: 07885 487642)
Oxfordshire, OX20 1XX    Fax:   01608 737172




More information about the Scummvm-devel mailing list