Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Proposal to update GCC for ARM

Re: Proposal to update GCC for ARM

From: Thomas Martitz <thomas.martitz_at_student.htw-berlin.de>
Date: Tue, 09 Mar 2010 03:35:27 +0100

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):

flac_5.flac:
(-O -> -O2)
gcc 4.0.3 645% -> 663% realtime
gcc 4.4.3 593% -> 704% realtime

flac_8.flac:
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).

Best regards.
Received on 2010-03-09


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa