Rockbox mail archive
Subject: Re: Proposal to update GCC for ARM
Re: Proposal to update GCC for ARM
Am 09.03.2010 02:39, schrieb Nils:
> On Tue, Mar 9, 2010 at 2:13 AM, Thomas Martitz
> <thomas.martitz_at_student.htw-berlin.de> wrote:
>> Am 09.03.2010 01:50, schrieb Nils:
>>> The flac codec is built with the core optimization level (-O1 on arm).
>>> Earlier testing done on the gigabeast with gcc 4.4.2
>>> showed that compiling the flac codec with -O2 with 4.4.2
>>> was the fastest combination of compiler and optimization level.
Indeed. I tested that quickly (e200v1):
(-O -> -O2)
gcc 4.0.3 645% -> 663% realtime
gcc 4.4.3 593% -> 704% realtime
gcc 4.0.3 603% -> 625% realtime
gcc 4.4.3 562% -> 661% realtime
It looks like we should enable -O2 no matter of the compiler. And it
looks like the only real drawback of gcc 4.4.3 disappears with that (it
even turns into an advantage).
Received on 2010-03-09
Page was last modified "Jan 10 2012" The Rockbox Crew