Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Codecs
  • Assigned To No-one
  • Operating System iPod 3G
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by dan_a - 2006-07-23

FS#5707 - Compiler optimisations for libmad on iPod 3G

I have found that there is a large benefit on the iPod 3g if libmad is compiled using -O instead of -O2.
This patch adds an extra environment variable, EXTRAMADOPTS, to tools/configure, and adds it after the normal libmad compiler options to allow different settings on a per-port basis.

It may be worth testing the effects of changing this option in other ports.

Closed by  linuxstb
2006-07-24 19:33
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

This also gave a speedup on 4g and later ipods, so I amended your patch accordingly before committing. Thanks!

dan_a commented on 2006-07-24 00:00

Following discussion with linuxstb here is an updated version of the patch.
It does not add the environment variable, and instead uses a conditional in the libmad Makefile.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing