PPC 601 and mftb/mftbu
julianskidmore at yahoo.com
Tue Apr 27 07:31:13 CDT 2010
> I'd sort of independently determined this, although I settled on mfrtcu
> which is spr4-5, IIRC. I'm not sure if it's high enough resolution for this
> task, but as you point out, rdtsc() in the PPC nanojit is a function, so
> it may not be a significant problem. mfrtcu/mfrtcl *should* work on the 603
> and up, right?
I'm not so sure. I had a look at the rtc. Although I think there's
user-level access for both the 603 and 601 etc, the problem I see with
using it is that rtcl counts MOD 10^9 and I'd guess that the use of rdtsc
assumes MOD 2^64.
-cheers from julz @P
More information about the cctalk