Rockbox

Tasklist

FS#11253 - Add IRAM and ARM asm to test_mem plugin

Attached to Project: Rockbox
Opened by Andree Buschmann (Buschel) - Saturday, 08 May 2010, 18:45 GMT
Last edited by Andree Buschmann (Buschel) - Sunday, 09 May 2010, 19:23 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To Andree Buschmann (Buschel)
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch adds two things to the test_mem plugin:
1) Refactor the tests in a way to allow the test of IRAM and DRAM.
2) Add ARM asm (ldmia/stmia).
This task depends upon

Closed by  Andree Buschmann (Buschel)
Sunday, 09 May 2010, 19:23 GMT
Reason for closing:  Accepted
Additional comments about closing:  Submitted with r25918.
Comment by Andree Buschmann (Buschel) - Saturday, 08 May 2010, 19:13 GMT
Use PLUGIN_USE_IRAM.
Comment by Nils Wallménius (nls) - Sunday, 09 May 2010, 07:35 GMT
It seems you have swapped the asm for the read and write tests so read is storing with stm and write is loading with ldm...
Comment by Andree Buschmann (Buschel) - Sunday, 09 May 2010, 09:13 GMT
Good point :o)
Comment by Andree Buschmann (Buschel) - Sunday, 09 May 2010, 18:00 GMT
- display current clock frequency in Hz (as the clock needs some time to switch after a change of boost/unboosted is signalled)
- display results in "x.y MB/s"
- loop count depends on boost state (trade off between test loop duration and precision)
Comment by Andree Buschmann (Buschel) - Sunday, 09 May 2010, 19:06 GMT
Roll back clock-dependent loop count for better readability.

Loading...