Rockbox

Tasklist

FS#7889 - Midi optimization

Attached to Project: Rockbox
Opened by Nils Wallménius (nls) - Thursday, 04 October 2007, 10:52 GMT
Last edited by Nils Wallménius (nls) - Thursday, 04 October 2007, 19:37 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System SW-codec
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This 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, 19:37 GMT
Reason for closing:  Accepted
Additional comments about closing:  comitted

Loading...