You might want to peek at the assembly coming out of your PPC compiler. Perhaps it's unoptimized or unusually bad. Hand-written assembly probably would make more sense to sidestep compiler shenanigans and improve accuracy.
Agreed. That wouldn't surprise me. That's my big caveat to all of this. I'm using a period-correct compiler (Metrowerks CodeWarrior 11 Gold) with pure C code that is not specifically tailored for a PowerPC processor. I am positive that if I wrote this code differently and chose 603 instruction ordering it could do better.
As you know, the cache tester is really simple. It's purpose is just to detect the existence of a cache at various steps. It doesn't exercise the cache with writes or random accesses. And, it is focused on data, not code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.