This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#7889 - Midi optimization
Attached to Project:
Rockbox
Opened by Nils Wallménius (nls) - Thursday, 04 October 2007, 12:52 GMT+2
Last edited by Nils Wallménius (nls) - Thursday, 04 October 2007, 21:37 GMT+2
Opened by Nils Wallménius (nls) - Thursday, 04 October 2007, 12:52 GMT+2
Last edited by Nils Wallménius (nls) - Thursday, 04 October 2007, 21:37 GMT+2
|
DetailsThis patch changes the loop in synthSample to use fewer multiplications and memory accesses, it also moves sample shifting out of the loop which gives slightly better accuracy. I have tested on my h300 with cpu boosting disabled and the number of buffer misses dropped 12%. To get the number of buffer misses I used the midi_bench.diff also posted below. As I don't have any other players I am interested in benchmarks for those.
Edit, fixed minor mistake in midi_bench.diff should now build fine :-) |
This task depends upon
Closed by Nils Wallménius (nls)
Thursday, 04 October 2007, 21:37 GMT+2
Reason for closing: Accepted
Additional comments about closing: comitted
Thursday, 04 October 2007, 21:37 GMT+2
Reason for closing: Accepted
Additional comments about closing: comitted