RE: lmw and stmw instructions not used copy functions
From: Joakim Tjernlund <hidden>
Date: 2003-02-21 13:54:42
Joakim Tjernlund wrote:quoted
Did some crude benchmarking using clear_page() as my test function.I'm sure someone has done it before.
I searched this list and the dev list using "lmw" as search key and it didn't turn up anything relevant.
What did you use for a benchmark program?
I hacked my own. I just executed clear_page() in userspace a few times with and without lmw and measured time with gettimeofday(). Not a very good test but since the difference is so big, I don't think futher tests are needed.
You should also be reading the linuxppc-dev list, as there are many things like this discussed there. The embedded stuff is just a subset of the global PowerPC development. Paul (among many others) has documented many benchmark and optimization activities.
Where is this documented? I can't find much in the lists. Jocke ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/