This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11381 - eabi: flac with -O2
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Tuesday, 08 June 2010, 08:31 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 09 June 2010, 08:21 GMT+2
Opened by Andree Buschmann (Buschel) - Tuesday, 08 June 2010, 08:31 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 09 June 2010, 08:21 GMT+2
|
DetailsAs known flac decoding speed will slow down by ~8% when switching to the eabi tool chain. Thomas Martitz reported on irc that building with -O2 solves this problem. This patch enables -O2 for flac. As a result the decoder is faster than current svn.
Tested on arm7tdmi (iPod Video): eabi, -O1 => ~13,5 MHz eabi, -O2 => ~11,7 MHz Could this please be retested on other targets and CPU's as well? Please report the speeds in this flyspray entry. |
This task depends upon
Closed by Andree Buschmann (Buschel)
Wednesday, 09 June 2010, 08:21 GMT+2
Reason for closing: Accepted
Additional comments about closing: Submitted with r26712
Wednesday, 09 June 2010, 08:21 GMT+2
Reason for closing: Accepted
Additional comments about closing: Submitted with r26712
svn, -O1 => ~12.7 MHz
svn, -O2 => ~12.3 MHz
So, even when using the standard toolchain -O2 is reasonable faster. As soon as we use eabi there is further major speed-up.
flac_5.flac, svn, 19.21MHz
flac_5.flac, this patch, 19.85MHz
flac_8.flac, svn, 19.67MHz
flac_8.flac, this patch, 20.36MHz