This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11698 - ARMv5 asm for flac
Attached to Project:
Rockbox
Opened by Nils Wallménius (nls) - Sunday, 24 October 2010, 13:52 GMT+2
Last edited by Nils Wallménius (nls) - Saturday, 20 November 2010, 15:14 GMT+2
Opened by Nils Wallménius (nls) - Sunday, 24 October 2010, 13:52 GMT+2
Last edited by Nils Wallménius (nls) - Saturday, 20 November 2010, 15:14 GMT+2
|
DetailsThis patch adds an armv5 version of lpc_decode_arm.
Speeds up decoding by 12% on gigabeat s (armv6) Most of the speedup comes from using 16 bit multiplies which can work with individual halfwords packed in registers so this frees up registers for larder block loads which also made it possible to add unrlorred loops up to predictor order 12 which is the highest used by the reference encoder. It would be good if someone tested on a real armv5 target and i'd like to have confirmation on that using these 16 bit multiplications is ok... the coeffs are never more than 16 bits but i haven't looked so much at the data but checksums match for files i've tested. |
This task depends upon
Closed by Nils Wallménius (nls)
Saturday, 20 November 2010, 15:14 GMT+2
Reason for closing: Rejected
Additional comments about closing: This isn't worth the complication
Saturday, 20 November 2010, 15:14 GMT+2
Reason for closing: Rejected
Additional comments about closing: This isn't worth the complication
This needs some more checking, the residuals (which is what the coeffs are multiplied with can be > 16 bits in some cases but i don't know which yet, need to read the spec unless someone can tell me?