This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10140 - Simple tremor optimisations
Attached to Project:
Rockbox
Opened by Dave Hooper (stripwax) - Saturday, 18 April 2009, 13:11 GMT+2
Last edited by Steve Bavin (pondlife) - Saturday, 25 April 2009, 13:43 GMT+2
Opened by Dave Hooper (stripwax) - Saturday, 18 April 2009, 13:11 GMT+2
Last edited by Steve Bavin (pondlife) - Saturday, 25 April 2009, 13:43 GMT+2
|
DetailsTwo simple optimisation patches, both applicable independently or together: one that fixes alignment checks on Coldfire, one that removes unnecessary memset on all targets.
Effect of alignment fix on coldfire (tested on h120): about 1Mhz improvement according to test_codec on 96, 350, and 500 bitrate samples; roughly unchanged at 128, 192 and 256 bitrate samples. Will have no effect on non-coldfire targets Effect of removing redundant memsets (tested on h120): incrementally additional ~1.5Mhz improvement at 192 bitrates and above. Patch will definitely benefit other targets too (although I've not measured other targets here) |
This task depends upon
Closed by Steve Bavin (pondlife)
Saturday, 25 April 2009, 13:43 GMT+2
Reason for closing: Accepted
Additional comments about closing: Closed upon request of OP.
Saturday, 25 April 2009, 13:43 GMT+2
Reason for closing: Accepted
Additional comments about closing: Closed upon request of OP.
Benefit of the memset removal patch on its own is therefore very small on coldfire h120 - but still it really is a redundant memset, and other targets might see greater improvements in any case
otherwise, great to see someone improving the tremor codec! :)
FS#9882and committed